For the RandomForestClassifier, the target values for training should be
integers (that correspond to classes in classification). When I specify the
labels as strings, I get an exception "ValueError: invalid literal for
float(): aaa". For the other clissifiers (svm, tree, knn, neiveBayes etc) I
can use the string labels, but not for the Random Forest classifier, why ?
I want to use string labels ..
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general