Skip to content

Commit 2537c31

Browse files
jorisvandenbosschelesteve
authored andcommitted
DOC: fix links to examples (scikit-learn#9102)
1 parent 54bee2f commit 2537c31

12 files changed

+18
-18
lines changed

doc/datasets/labeled_faces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ an evaluation ``10_folds`` set meant to compute performance metrics using a
115115
Examples
116116
--------
117117

118-
:ref:`sphx_glr_auto_examples_applications_face_recognition.py`
118+
:ref:`sphx_glr_auto_examples_applications_plot_face_recognition.py`

doc/modules/biclustering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ and the remaining ``n_columns`` labels provide the column partitioning.
154154
showing how to generate a data matrix with biclusters and apply
155155
this method to it.
156156

157-
* :ref:`sphx_glr_auto_examples_bicluster_bicluster_newsgroups.py`: An example of finding
157+
* :ref:`sphx_glr_auto_examples_bicluster_plot_bicluster_newsgroups.py`: An example of finding
158158
biclusters in the twenty newsgroup dataset.
159159

160160

doc/modules/cross_validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ section.
199199

200200
* :ref:`sphx_glr_auto_examples_model_selection_plot_roc_crossval.py`,
201201
* :ref:`sphx_glr_auto_examples_feature_selection_plot_rfe_with_cross_validation.py`,
202-
* :ref:`sphx_glr_auto_examples_model_selection_grid_search_digits.py`,
202+
* :ref:`sphx_glr_auto_examples_model_selection_plot_grid_search_digits.py`,
203203
* :ref:`sphx_glr_auto_examples_model_selection_grid_search_text_feature_extraction.py`,
204204
* :ref:`sphx_glr_auto_examples_plot_cv_predict.py`,
205205
* :ref:`sphx_glr_auto_examples_model_selection_plot_nested_cross_validation_iris.py`.

doc/modules/decomposition.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Note: the implementation of ``inverse_transform`` in :class:`PCA` with
160160

161161
.. topic:: Examples:
162162

163-
* :ref:`sphx_glr_auto_examples_applications_face_recognition.py`
163+
* :ref:`sphx_glr_auto_examples_applications_plot_face_recognition.py`
164164
* :ref:`sphx_glr_auto_examples_decomposition_plot_faces_decomposition.py`
165165

166166
.. topic:: References:
@@ -796,7 +796,7 @@ stored components::
796796
.. topic:: Examples:
797797

798798
* :ref:`sphx_glr_auto_examples_decomposition_plot_faces_decomposition.py`
799-
* :ref:`sphx_glr_auto_examples_applications_topics_extraction_with_nmf_lda.py`
799+
* :ref:`sphx_glr_auto_examples_applications_plot_topics_extraction_with_nmf_lda.py`
800800
* :ref:`sphx_glr_auto_examples_decomposition_plot_beta_divergence.py`
801801

802802
.. topic:: References:
@@ -890,7 +890,7 @@ when data can be fetched sequentially.
890890

891891
.. topic:: Examples:
892892

893-
* :ref:`sphx_glr_auto_examples_applications_topics_extraction_with_nmf_lda.py`
893+
* :ref:`sphx_glr_auto_examples_applications_plot_topics_extraction_with_nmf_lda.py`
894894

895895
.. topic:: References:
896896

doc/modules/feature_extraction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ Finally it is possible to discover the main topics of a corpus by
669669
relaxing the hard assignment constraint of clustering, for instance by
670670
using :ref:`NMF`:
671671

672-
* :ref:`sphx_glr_auto_examples_applications_topics_extraction_with_nmf_lda.py`
672+
* :ref:`sphx_glr_auto_examples_applications_plot_topics_extraction_with_nmf_lda.py`
673673

674674

675675
Limitations of the Bag of Words representation

doc/modules/grid_search.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ evaluated and the best combination is retained.
7070

7171
.. topic:: Examples:
7272

73-
- See :ref:`sphx_glr_auto_examples_model_selection_grid_search_digits.py` for an example of
73+
- See :ref:`sphx_glr_auto_examples_model_selection_plot_grid_search_digits.py` for an example of
7474
Grid Search computation on the digits dataset.
7575

7676
- See :ref:`sphx_glr_auto_examples_model_selection_grid_search_text_feature_extraction.py` for an example
@@ -131,7 +131,7 @@ increasing ``n_iter`` will always lead to a finer search.
131131

132132
.. topic:: Examples:
133133

134-
* :ref:`sphx_glr_auto_examples_model_selection_randomized_search.py` compares the usage and efficiency
134+
* :ref:`sphx_glr_auto_examples_model_selection_plot_randomized_search.py` compares the usage and efficiency
135135
of randomized search and grid search.
136136

137137
.. topic:: References:

doc/modules/model_evaluation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ and inferred labels::
474474
for an example of classification report usage for text
475475
documents.
476476

477-
* See :ref:`sphx_glr_auto_examples_model_selection_grid_search_digits.py`
477+
* See :ref:`sphx_glr_auto_examples_model_selection_plot_grid_search_digits.py`
478478
for an example of classification report usage for
479479
grid search with nested cross-validation.
480480

@@ -610,7 +610,7 @@ binary classification and multilabel indicator format.
610610
for an example of :func:`f1_score` usage to classify text
611611
documents.
612612

613-
* See :ref:`sphx_glr_auto_examples_model_selection_grid_search_digits.py`
613+
* See :ref:`sphx_glr_auto_examples_model_selection_plot_grid_search_digits.py`
614614
for an example of :func:`precision_score` and :func:`recall_score` usage
615615
to estimate parameters using grid search with nested cross-validation.
616616

doc/modules/outlier_detection.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ This strategy is illustrated below.
220220

221221
.. topic:: Examples:
222222

223-
* See :ref:`sphx_glr_auto_example_neighbors_plot_lof.py` for
223+
* See :ref:`sphx_glr_auto_examples_neighbors_plot_lof.py` for
224224
an illustration of the use of :class:`neighbors.LocalOutlierFactor`.
225225

226-
* See :ref:`sphx_glr_auto_example_covariance_plot_outlier_detection.py` for a
226+
* See :ref:`sphx_glr_auto_examples_covariance_plot_outlier_detection.py` for a
227227
comparison with other anomaly detection methods.
228228

229229
.. topic:: References:

doc/modules/pipeline.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ignored by setting them to ``None``::
102102

103103
.. topic:: Examples:
104104

105-
* :ref:`sphx_glr_auto_examples_feature_selection_feature_selection_pipeline.py`
105+
* :ref:`sphx_glr_auto_examples_feature_selection_plot_feature_selection_pipeline.py`
106106
* :ref:`sphx_glr_auto_examples_model_selection_grid_search_text_feature_extraction.py`
107107
* :ref:`sphx_glr_auto_examples_plot_digits_pipe.py`
108108
* :ref:`sphx_glr_auto_examples_plot_kernel_approximation.py`
@@ -265,5 +265,5 @@ and ignored by setting to ``None``::
265265

266266
.. topic:: Examples:
267267

268-
* :ref:`sphx_glr_auto_examples_feature_stacker.py`
268+
* :ref:`sphx_glr_auto_examples_plot_feature_stacker.py`
269269
* :ref:`sphx_glr_auto_examples_hetero_feature_union.py`

doc/modules/preprocessing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ in the matrix. This format is thus suitable when there are many more missing
549549
values than observed values.
550550

551551
:class:`Imputer` can be used in a Pipeline as a way to build a composite
552-
estimator that supports imputation. See :ref:`sphx_glr_auto_examples_missing_values.py`
552+
estimator that supports imputation. See :ref:`sphx_glr_auto_examples_plot_missing_values.py`.
553553

554554
.. _polynomial_features:
555555

0 commit comments

Comments
 (0)