Closed GiaGoswami closed 3 years ago
@GiaGoswami if you want to use mnist you could do this mnist = fetch_openml('mnist_784', version = 1)
Thank you.
Never mind
Note that since Scikit-Learn 0.24, fetch_openml()
returns a Pandas dataframe by default, which breaks the code in the book. So you need to add the argument as_frame=False
to ask the function to return a NumPy array, as before.
Hi! I was having trouble with fetch_openml. Here is the code line and the Error message : Code : mnist = fetch_openml(dataname="MNIST original") Error : TypeError: fetch_openml() got an unexpected keyword argument 'dataname' I tried to change the name, but that didn't help. Does anyone know how I can fix this Error?