Just getting started with scikits and was running into a problem:

My large dataset is in SVMLight format. I load it like (X_train, y_train =
load_svmlight_file(f))
When I try using the SVM
Classifier: svm.SVC(gamma=0.001).fit(X_train,y_train), I get the following
error:

"File
"/var/tmp/scilearn/local/lib/python2.7/site-packages/numpy/core/numeric.py",
line 235, in asarray

   return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence."
Any ideas?
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to