Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 486f8fc

Browse files
committed
DOC fix plot_iris references after files renamed
1 parent 1a54989 commit 486f8fc

File tree

6 files changed

+523
-9
lines changed

6 files changed

+523
-9
lines changed

doc/modules/svm.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Classification
5252
capable of performing multi-class classification on a dataset.
5353

5454

55-
.. figure:: ../auto_examples/svm/images/sphx_glr_plot_iris_001.png
56-
:target: ../auto_examples/svm/plot_iris.html
55+
.. figure:: ../auto_examples/svm/images/sphx_glr_plot_iris_svc_001.png
56+
:target: ../auto_examples/svm/plot_iris_svc.html
5757
:align: center
5858

5959

@@ -279,7 +279,7 @@ set the parameter ``C`` for the i-th example to ``C * sample_weight[i]``.
279279

280280
.. topic:: Examples:
281281

282-
* :ref:`sphx_glr_auto_examples_svm_plot_iris.py`,
282+
* :ref:`sphx_glr_auto_examples_svm_plot_iris_svc.py`,
283283
* :ref:`sphx_glr_auto_examples_svm_plot_separating_hyperplane.py`,
284284
* :ref:`sphx_glr_auto_examples_svm_plot_separating_hyperplane_unbalanced.py`
285285
* :ref:`sphx_glr_auto_examples_svm_plot_svm_anova.py`,

doc/modules/tree.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ Once trained, you can plot the tree with the plot_tree function::
129129

130130
>>> tree.plot_tree(clf.fit(iris.data, iris.target)) # doctest: +SKIP
131131

132-
.. figure:: ../auto_examples/tree/images/sphx_glr_plot_iris_002.png
133-
:target: ../auto_examples/tree/plot_iris.html
132+
.. figure:: ../auto_examples/tree/images/sphx_glr_plot_iris_dtc_002.png
133+
:target: ../auto_examples/tree/plot_iris_dtc.html
134134
:scale: 75
135135
:align: center
136136

@@ -177,14 +177,14 @@ render these plots inline automatically::
177177
.. figure:: ../images/iris.pdf
178178
:align: center
179179

180-
.. figure:: ../auto_examples/tree/images/sphx_glr_plot_iris_001.png
181-
:target: ../auto_examples/tree/plot_iris.html
180+
.. figure:: ../auto_examples/tree/images/sphx_glr_plot_iris_dtc_001.png
181+
:target: ../auto_examples/tree/plot_iris_dtc.html
182182
:align: center
183183
:scale: 75
184184

185185
.. topic:: Examples:
186186

187-
* :ref:`sphx_glr_auto_examples_tree_plot_iris.py`
187+
* :ref:`sphx_glr_auto_examples_tree_plot_iris_dtc.py`
188188

189189

190190
.. _tree_regression:

doc/tutorial/statistical_inference/supervised_learning.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ the separating line (less regularization).
452452

453453
.. topic:: Example:
454454

455-
- :ref:`sphx_glr_auto_examples_svm_plot_iris.py`
455+
- :ref:`sphx_glr_auto_examples_svm_plot_iris_svc.py`
456456

457457

458458
SVMs can be used in regression --:class:`SVR` (Support Vector Regression)--, or in

0 commit comments

Comments
 (0)