2013/2/27 ShNaYkHs ShNaYkHs <shnay...@gmail.com>: > 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 ..
This is a known issue: https://github.com/scikit-learn/scikit-learn/issues/556 Patches are highly appreciated. -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ 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