DOC add link to plot_cv_predict example in cross_val_predict doc#31504
DOC add link to plot_cv_predict example in cross_val_predict doc#31504adrinjalali merged 13 commits intoscikit-learn:mainfrom sisird864:docs/link-plot_cv_predict
Conversation
virchan
left a comment
There was a problem hiding this comment.
Thank you for the PR, @sisird864! I have a few comments.
- The hash symbols can be removed.
- Please add a blank line between the descriptive text and the Python code.
- "For a detailed example of using
cross_val_predictto visualize prediction errors, please see <example_link>."
virchan
left a comment
There was a problem hiding this comment.
Thanks for the update, @sisird864! I have a few more comments.
The example you added has split the Python code block in the Examples section in half, which breaks the formatting. Could you please move the text outside the code block?
…864/scikit-learn into docs/link-plot_cv_predict
virchan
left a comment
There was a problem hiding this comment.
Thank you for updating the PR, @sisird864! I have a few more comments.
| For a detailed example of using ``cross_val_predict`` to visualize | ||
| prediction errors, please see | ||
| :ref:`this example <sphx_glr_auto_examples_model_selection_plot_cv_predict.py>`. |
There was a problem hiding this comment.
We don't need "this example" inside :ref: here.
virchan
left a comment
There was a problem hiding this comment.
Thanks you for updating the PR, @sisird864! Just one more nitpick.
Co-authored-by: Virgil Chan <virchan.math@gmail.com>
virchan
left a comment
There was a problem hiding this comment.
LGTM! Thanks @sisird864!
@adrinjalali, @marenwestermann, would you like to have a look and merge this?
…kit-learn#31504) Co-authored-by: Virgil Chan <virchan.math@gmail.com>
…kit-learn#31504) Co-authored-by: Virgil Chan <virchan.math@gmail.com>
…kit-learn#31504) Co-authored-by: Virgil Chan <virchan.math@gmail.com>
…kit-learn#31504) Co-authored-by: Virgil Chan <virchan.math@gmail.com>
…kit-learn#31504) Co-authored-by: Virgil Chan <virchan.math@gmail.com>
Reference Issues/PRs
Towards #30621
What does this implement/fix? Explain your changes.
This adds a new entry under the “See Also” section of the
cross_val_predictAPI docstring insklearn/model_selection/_validation.py, linking to theplot_cv_predict.pyexample: