DOC Fix FutureWarning in manifold/plot_compare_methods.py
@@ -163,7 +163,11 @@ plot_2d(S_isomap, S_color, "Isomap Embedding")
# Read more in the :ref:`User Guide <multidimensional_scaling>`.
md_scaling = manifold.MDS(
- n_components=n_components, max_iter=50, n_init=4, random_state=0
+ n_components=n_components,
+ max_iter=50,
+ n_init=4,
+ random_state=0,
+ normalized_stress=False,
)
S_scaling = md_scaling.fit_transform(S_points)
