Skip to content

Commit edb2c86

Browse files
MaximSmolskiybetatimglemaitre
authored
DOC Fix FutureWarning in manifold/plot_lle_digits.html (scikit-learn#24922)
Co-authored-by: Tim Head <betatim@gmail.com> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent d77bdb3 commit edb2c86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎examples/manifold/plot_lle_digits.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ def plot_embedding(X, title):
134134
"LTSA LLE embedding": LocallyLinearEmbedding(
135135
n_neighbors=n_neighbors, n_components=2, method="ltsa"
136136
),
137-
"MDS embedding": MDS(n_components=2, n_init=1, max_iter=120, n_jobs=2),
137+
"MDS embedding": MDS(
138+
n_components=2, n_init=1, max_iter=120, n_jobs=2, normalized_stress="auto"
139+
),
138140
"Random Trees embedding": make_pipeline(
139141
RandomTreesEmbedding(n_estimators=200, max_depth=5, random_state=0),
140142
TruncatedSVD(n_components=2),

0 commit comments

Comments
 (0)