Alternatively, you can edit the code to use fetch_openml(...,
as_frame=False) to use a numpy array instead of a pandas dataframe for
this example.
--
Olivier
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/
hi James,
you need to install pandas
pip install pandas
or
conda install pandas
should fix your pb
Alex
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn
Looks like you need to install pandas for this example--`fetch_openl` is
trying to give you back a pandas DataFrame
https://scikit-learn.org/stable/modules/generated/sklearn.datasets.fetch_openml.html#sklearn.datasets.fetch_openml
not sure if you could just run it with as_frame = False
David Nic
Hi,
I am a new user trying to run the Visualization of MLP weights on MNIST
example for neural networks.
I am not able to get the example to run. I loaded the scikitlearn and
matplotlib packages called in the program, but still it will not work.
Is there any more I need to do?
My error text is