Simple code running on google colab but not working on kaggle

Viewed 252

I am new to machine learning and trying to run following code

from sklearn.datasets import fetch_openml

mnist = fetch_openml('mnist_784', version=1)

mnist.keys()

its working fine on google colab but not working on kaggle. Does anyone know why it not working on kaggle notebook?

1 Answers

This code is running fine on Kaggle. It takes some time but will complete.

Check again

output:

dict_keys(['data', 'target', 'frame', 'categories', 'feature_names', 'target_names', 'DESCR', 'details', 'url'])

Related