Skip to content

Commit 89f29ba

Browse files
committed
DOC Fix references to missing examples
1 parent 27cae1a commit 89f29ba

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

sklearn/cluster/affinity_propagation_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class AffinityPropagation(BaseEstimator, ClusterMixin):
220220
221221
Notes
222222
-----
223-
See examples/plot_affinity_propagation.py for an example.
223+
See examples/cluster/plot_affinity_propagation.py for an example.
224224
225225
The algorithmic complexity of affinity propagation is quadratic
226226
in the number of points.

sklearn/cluster/dbscan_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def dbscan(X, eps=0.5, min_samples=5, metric='euclidean',
5050
5151
Notes
5252
-----
53-
See examples/plot_dbscan.py for an example.
53+
See examples/cluster/plot_cluster_comparison.py for an example.
5454
5555
References
5656
----------
@@ -147,7 +147,7 @@ class DBSCAN(BaseEstimator, ClusterMixin):
147147
148148
Notes
149149
-----
150-
See examples/plot_dbscan.py for an example.
150+
See examples/cluster/plot_cluster_comparison.py for an example.
151151
152152
References
153153
----------

sklearn/cluster/mean_shift_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def mean_shift(X, bandwidth=None, seeds=None, bin_seeding=False,
9393
9494
Notes
9595
-----
96-
See examples/plot_meanshift.py for an example.
96+
See examples/cluster/plot_meanshift.py for an example.
9797
9898
"""
9999
if bandwidth is None:

sklearn/linear_model/coordinate_descent.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def lasso_path(X, y, eps=1e-3, n_alphas=100, alphas=None,
578578
579579
Notes
580580
-----
581-
See examples/linear_model/plot_lasso_coordinate_descent_path.py
581+
See examples/linear_model/plot_lasso_model_selection.py
582582
for an example.
583583
584584
To avoid unnecessary memory duplication the X argument of the fit method
@@ -696,7 +696,8 @@ def enet_path(X, y, l1_ratio=0.5, eps=1e-3, n_alphas=100, alphas=None,
696696
697697
Notes
698698
-----
699-
See examples/plot_lasso_coordinate_descent_path.py for an example.
699+
See examples/linear_model/plot_lasso_coordinate_descent_path.py
700+
for an example.
700701
701702
See also
702703
--------
@@ -1050,7 +1051,7 @@ class LassoCV(LinearModelCV, RegressorMixin):
10501051
10511052
Notes
10521053
-----
1053-
See examples/linear_model/lasso_path_with_crossvalidation.py
1054+
See examples/linear_model/plot_lasso_model_selection.py
10541055
for an example.
10551056
10561057
To avoid unnecessary memory duplication the X argument of the fit method
@@ -1156,7 +1157,7 @@ class ElasticNetCV(LinearModelCV, RegressorMixin):
11561157
11571158
Notes
11581159
-----
1159-
See examples/linear_model/lasso_path_with_crossvalidation.py
1160+
See examples/linear_model/plot_lasso_model_selection.py
11601161
for an example.
11611162
11621163
To avoid unnecessary memory duplication the X argument of the fit method

sklearn/linear_model/randomized_l1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ class RandomizedLogisticRegression(BaseRandomizedLinearModel):
437437
438438
Notes
439439
-----
440-
See examples/linear_model/plot_randomized_lasso.py for an example.
440+
See examples/linear_model/plot_sparse_recovery.py for an example.
441441
442442
References
443443
----------
@@ -565,7 +565,7 @@ def lasso_stability_path(X, y, scaling=0.5, random_state=None,
565565
566566
Notes
567567
-----
568-
See examples/linear_model/plot_randomized_lasso.py for an example.
568+
See examples/linear_model/plot_sparse_recovery.py for an example.
569569
"""
570570
rng = check_random_state(random_state)
571571

0 commit comments

Comments
 (0)