Closed jackred closed 3 years ago
fetch_mldata is deprecated since sklearn 0.20 and was removed in 0.22 as mldata.org is not operational anymore (see https://scikit-learn.org/stable/whats_new/v0.20.html#id26 sections sklearn.datasets, API changes)
The new function is fetch_openml. Example: https://stackoverflow.com/a/54616305/8040287 https://scikit-learn.org/stable/auto_examples/linear_model/plot_sparse_logistic_regression_mnist.html#sphx-glr-auto-examples-linear-model-plot-sparse-logistic-regression-mnist-py
However the data is of type float64, so we need to convert it to integer (warning were raised by matplotlib as indication)
fetch_mldata is deprecated since sklearn 0.20 and was removed in 0.22 as mldata.org is not operational anymore (see https://scikit-learn.org/stable/whats_new/v0.20.html#id26 sections sklearn.datasets, API changes)
The new function is fetch_openml. Example: https://stackoverflow.com/a/54616305/8040287 https://scikit-learn.org/stable/auto_examples/linear_model/plot_sparse_logistic_regression_mnist.html#sphx-glr-auto-examples-linear-model-plot-sparse-logistic-regression-mnist-py
However the data is of type float64, so we need to convert it to integer (warning were raised by matplotlib as indication)