diff --git a/examples/applications/plot_stock_market.py b/examples/applications/plot_stock_market.py index b7f46c17fe549..29645a50791c7 100644 --- a/examples/applications/plot_stock_market.py +++ b/examples/applications/plot_stock_market.py @@ -169,7 +169,7 @@ from sklearn import manifold node_position_model = manifold.LocallyLinearEmbedding( - n_components=2, eigen_solver="dense", n_neighbors=6 + n_components=2, eigen_solver="arpack", n_neighbors=6, random_state=42 ) embedding = node_position_model.fit_transform(X.T).T