Skip to content

Commit 90fe87f

Browse files
committed
Extra missing links complained by sphinx
1 parent e10a272 commit 90fe87f

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

doc/modules/clustering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ merging to nearest neighbors as in :ref:`this example
615615
<sphx_glr_auto_examples_cluster_plot_agglomerative_clustering.py>`, or
616616
using :func:`sklearn.feature_extraction.image.grid_to_graph` to
617617
enable only merging of neighboring pixels on an image, as in the
618-
:ref:`raccoon face <sphx_glr_example_cluster_plot_face_ward_segmentation.py>` example.
618+
:ref:`raccoon face <sphx_glr_auto_examples_cluster_plot_face_ward_segmentation.py>` example.
619619

620620
.. topic:: Examples:
621621

doc/modules/linear_model.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ Small dataset or L1 penalty "liblinear"
745745
Multinomial loss or large dataset "lbfgs", "sag" or "newton-cg"
746746
Very Large dataset "sag"
747747
================================= =============================
748+
748749
For large dataset, you may also consider using :class:`SGDClassifier` with 'log' loss.
749750

750751
.. topic:: Examples:
@@ -1079,8 +1080,8 @@ lesser than a certain threshold. It differs from :class:`TheilSenRegressor`
10791080
and :class:`RANSACRegressor` because it does not ignore the effect of the outliers
10801081
but gives a lesser weight to them.
10811082

1082-
.. figure:: ../auto_examples/linear_model/images/plot_huber_vs_ridge_001.png
1083-
:target: ../auto_examples/linear_model/plot_huber_vs_ridge.html
1083+
.. figure:: /auto_examples/linear_model/images/sphx_glr_plot_huber_vs_ridge_001.png
1084+
:target: /auto_examples/linear_model/plot_huber_vs_ridge.html
10841085
:align: center
10851086
:scale: 50%
10861087

doc/modules/mixture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ full covariance.
6262

6363
.. topic:: Examples:
6464

65-
* See :ref:`sphx_glr_example_mixture_plot_gmm_covariances.py` for an example of
65+
* See :ref:`sphx_glr_auto_examples_mixture_plot_gmm_covariances.py` for an example of
6666
using the Gaussian mixture as clustering on the iris dataset.
6767

6868
* See :ref:`sphx_glr_auto_examples_mixture_plot_gmm_pdf.py` for an example on plotting the

doc/modules/neural_networks_supervised.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ See the examples below and the doc string of
160160

161161
.. topic:: Examples:
162162

163-
* :ref:`sphx_glr_examples_neural_networks_plot_mlp_training_curves.py`
164-
* :ref:`sphx_glr_examples_neural_networks_plot_mnist_filters.py`
163+
* :ref:`sphx_glr_auto_examples_neural_networks_plot_mlp_training_curves.py`
164+
* :ref:`sphx_glr_auto_examples_neural_networks_plot_mnist_filters.py`
165165

166166
Regression
167167
==========
@@ -183,7 +183,7 @@ for regularization (L2 regularization) term which helps in avoiding overfitting
183183
by penalizing weights with large magnitudes. Following plot displays varying
184184
decision function with value of alpha.
185185

186-
.. figure:: ../auto_examples/neural_networks/images/plot_mlp_alpha_001.png
186+
.. figure:: ../auto_examples/neural_networks/images/sphx_glr_plot_mlp_alpha_001.png
187187
:target: ../auto_examples/neural_networks/plot_mlp_alpha.html
188188
:align: center
189189
:scale: 75

doc/themes/scikit-learn/layout.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@
137137
<!-- Carousel items -->
138138
<div class="carousel-inner">
139139
<div class="active item">
140-
<a href="{{ pathto('auto_examples/classification/plot_classifier_comparison') }}">
140+
<a href="{{pathto('auto_examples/classification/plot_classifier_comparison') }}">
141141
<div class="crop-wrapper" style="width: 380px; height: 190px; overflow: hidden">
142142
<img src="_images/sphx_glr_plot_classifier_comparison_001_carousel.png"
143143
style="max-height: 200px; max-width: 629px; margin-left: -21px;"></div></a>
144144
</div>
145145
<div class="item">
146-
<a href="auto_examples/covariance/plot_outlier_detection.html">
146+
<a href="{{pathto('auto_examples/covariance/plot_outlier_detection.html') }}">
147147
<img src="_images/sphx_glr_plot_outlier_detection_003_carousel.png"></a>
148148
</div>
149149
<div class="item">
@@ -164,7 +164,7 @@
164164
</div>
165165
<div class="item">
166166
<a href="{{pathto('auto_examples/gaussian_process/plot_gpr_co2') }}">
167-
<img src="_images/sphx_glr_plot_gpr_co2_carousel.png"></a>
167+
<img src="_images/sphx_glr_plot_gpr_co2_001_carousel.png"></a>
168168
</div>
169169
<div class="item">
170170
<a href="{{ pathto('auto_examples/manifold/plot_compare_methods') }}">
@@ -176,7 +176,7 @@
176176
</div>
177177
<div class="item">
178178
<a href="{{ pathto('auto_examples/cluster/plot_face_ward_segmentation') }}">
179-
<img src="_images/sphx_glr_plot_face_ward_segmentation.png"></a>
179+
<img src="_images/sphx_glr_plot_face_ward_segmentation_thumb.png"></a>
180180
</div>
181181
</div>
182182
<!-- Carousel nav -->

examples/feature_selection/plot_rfe_digits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
plt.matshow(ranking, cmap=plt.cm.Blues)
3434
plt.colorbar()
3535
plt.title("Ranking of pixels with RFE")
36-
plt.show()
36+
plt.show()

sklearn/model_selection/_validation.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -947,9 +947,8 @@ def validation_curve(estimator, X, y, param_name, param_range, labels=None,
947947
948948
Notes
949949
-----
950-
See
951-
:ref:`examples/model_selection/plot_validation_curve.py
952-
<sphx_glr_auto_examples_model_selection_plot_validation_curve.py>`
950+
See :ref:`sphx_glr_auto_examples_model_selection_plot_validation_curve.py`
951+
953952
"""
954953
X, y, labels = indexable(X, y, labels)
955954

0 commit comments

Comments
 (0)