Hi Gael,
Thanks for your quick answer. Your solution solved the error, but now I get
this:
Traceback (most recent call last):
File "./svm_sklearn.py", line 43, in <module>
train(training_set_file_name, model_file_name)
File "./svm_sklearn.py", line 17, in train
clf.fit(X_train, y_train)
File
"/home/mathiasv/lib/python2.6/site-packages/scikit_learn-0.10-py2.6-linux-x86_64.egg/sklearn/svm/base.py",
line 175, in fit
X = np.asarray(X, dtype=np.float64, order='C')
File "/usr/lib/python2.6/dist-packages/numpy/core/numeric.py", line 230,
in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.
Would you have any idea how this is caused?
Thanks,
Mathias
On Sat, Jan 28, 2012 at 9:49 AM, Gael Varoquaux <
[email protected]> wrote:
> On Sat, Jan 28, 2012 at 09:47:56AM +0100, Mathias Verbeke wrote:
> > sklearn.linear_model.sgd_fast_sparse
> > (sklearn/linear_model/sgd_fast_sparse.c:5701)
> > ImportError: No module named sklearn.linear_model.sgd_fast
>
> I think that your scikit install wasn't built properly. How do you
> install it? Could you try rebuilding it?
>
> HTH,
>
> Gael
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general