Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple code running on google colab but not working on kaggle

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?

like image 474
umair zubairy Avatar asked Nov 30 '25 03:11

umair zubairy


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'])

like image 89
Vikas Singh Avatar answered Dec 02 '25 15:12

Vikas Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!