[scikit-learn] Ipython Jupyter Kernel Dies when I fit an SGDClassifier

Aymen J ay.j at hotmail.fr
Thu Jun 1 13:09:19 EDT 2017


Hey Guys,


So I'm trying to fit an SGD classifier on a dataset that has 900,000 for about 3,600 features (high cardinality).


Here is my model:

model = SGDClassifier(loss='log',penalty=None,alpha=0.0,
              l1_ratio=0.0,fit_intercept=False,n_iter=1,shuffle=False,learning_rate='constant',
             eta0=1.0)

When I run the model.fit function, The program runs for about 5 minutes, and I receive the message "the kernel has died" from Jupyter.

Any idea what may cause that? Is my training data too big (in terms of features)? Can I do anything (parameters) to finish training?

Thanks in advance for your help!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170601/e24a7848/attachment.html>


More information about the scikit-learn mailing list