Open selcukbeyhan opened 3 years ago
Hi @selcukbeyhan ,
Thanks for your feedback. The problem comes from the fact that fetch_openml()
started returning Pandas DataFrames instead of NumPy arrays since Scikit-Learn 0.24. This messes up a lot of code examples. Luckily, there's a trivial fix: just set as_frame=False
when calling fetch_openml()
, and everything will run smoothly:
mnist = fetch_openml('mnist_784', version=1, as_frame=True)
Hope this helps!
Thank you very much!
I am not a python expert but I realized there is probably a compatibility issue with following code:
The assignment
some_digit = X[0]
throws an error.I managed to fix this like this:
Thank you.