10000 DOC fix back references to removed example (#30059) · scikit-learn/scikit-learn@30f7d8a · GitHub
[go: up one dir, main page]

Skip to content

Commit 30f7d8a

Browse files
authored
DOC fix back references to removed example (#30059)
1 parent 2ca4eca commit 30f7d8a

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

doc/modules/learning_curve.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ this reason, it is often helpful to use the tools described below.
4242
.. rubric:: Examples
4343

4444
* :ref:`sphx_glr_auto_examples_model_selection_plot_underfitting_overfitting.py`
45-
* :ref:`sphx_glr_auto_examples_model_selection_plot_validation_curve.py`
45+
* :ref:`sphx_glr_auto_examples_model_selection_plot_train_error_vs_test_error.py`
4646
* :ref:`sphx_glr_auto_examples_model_selection_plot_learning_curve.py`
4747

4848

@@ -115,14 +115,7 @@ to :func:`validation_curve` to generate and plot the validation curve:
115115
If the training score and the validation score are both low, the estimator will
116116
be underfitting. If the training score is high and the validation score is low,
117117
the estimator is overfitting and otherwise it is working very well. A low
118-
training score and a high validation score is usually not possible. Underfitting,
119-
overfitting, and a working model are shown in the in the plot below where we vary
120-
the parameter `gamma` of an SVM with an RBF kernel on the digits dataset.
121-
122-
.. figure:: ../auto_examples/model_selection/images/sphx_glr_plot_validation_curve_001.png
123-
:target: ../auto_examples/model_selection/plot_validation_curve.html
124-
:align: center
125-
:scale: 50%
118+
training score and a high validation score is usually not possible.
126119

127120
.. _learning_curve:
128121

sklearn/model_selection/_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ def validation_curve(
24142414
24152415
Notes
24162416
-----
2417-
See :ref:`sphx_glr_auto_examples_model_selection_plot_validation_curve.py`
2417+
See :ref:`sphx_glr_auto_examples_model_selection_plot_train_error_vs_test_error.py`
24182418
24192419
Examples
24202420
--------

0 commit comments

Comments
 (0)
0