[scikit-learn] Ipython Jupyter Kernel Dies when I fit an SGDClassifier
Iván Vallés Pérez
ivanvallesperez at gmail.com
Fri Jun 2 06:50:35 EDT 2017
Are you monitoring your RAM memory consumption? I would say that it is the
cause of the majority of the kernel crashes
El El vie, 2 jun 2017 a las 12:45, Aymen J <ay.j at hotmail.fr> escribió:
> 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!
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170602/57f60839/attachment.html>
More information about the scikit-learn
mailing list