Skip to content

Commit 9bf3c41

Browse files
sisird864virchan
andauthored
DOC add link to plot_cv_predict example in cross_val_predict doc (scikit-learn#31504)
Co-authored-by: Virgil Chan <virchan.math@gmail.com>
1 parent 2e9b848 commit 9bf3c41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/model_selection/_validation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,10 @@ def cross_val_predict(
11621162
>>> y = diabetes.target[:150]
11631163
>>> lasso = linear_model.Lasso()
11641164
>>> y_pred = cross_val_predict(lasso, X, y, cv=3)
1165+
1166+
For a detailed example of using ``cross_val_predict`` to visualize
1167+
prediction errors, please see
1168+
:ref:`sphx_glr_auto_examples_model_selection_plot_cv_predict.py`.
11651169
"""
11661170
_check_groups_routing_disabled(groups)
11671171
X, y = indexable(X, y)

0 commit comments

Comments
 (0)