ageron / ageron/handson-ml2

Machine Learning - Classification

Open
#201 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

Hi:
I'm using this code:
from sklearn.datasets import fetch_openml
mnist = fetch_openml('mnist_784', version=1)

then when I want to use this dataset and write the below code:

from sklearn.model_selection import cross_val_score
cross_val_score(sgd_clf, X_train, y_train_5, cv=3, scoring="accuracy")

I've got this error:
MemoryError:

And I don't know how to fix it.
My system type is 32-bit and I installed Anaconda for this type. Is there a way to solve this problem without turning system type into 64-bit?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.