main
Aurélien Geron 2023-11-14 15:28:44 +13:00
parent 1cf75d217b
commit 4dc4a21367
1 changed files with 1 additions and 2 deletions

View File

@ -2432,8 +2432,7 @@
} }
], ],
"source": [ "source": [
"%time X_mds_reduced = MDS(n_components=2, normalized_stress=False,\n", "%time X_mds_reduced = MDS(n_components=2, normalized_stress=False, random_state=42).fit_transform(X_sample)\n",
" random_state=42).fit_transform(X_sample)\n",
"plot_digits(X_mds_reduced, y_sample)\n", "plot_digits(X_mds_reduced, y_sample)\n",
"plt.show()" "plt.show()"
] ]