Hey! First of all: thanks for the hints for my last post.
I decided to stick around Leave-one-Out for now and Im doing grid search with cross validation using Leave-one-out. As I am interested in retrieving the F1_score I am using it as score_func. The problem now is that following error message comes up: ValueError: pos_label=1 is not a valid label: array([ 0., 3.]) The problem seems to be, that the score_func thinks that it's a binary classification and needs a pos_label that fits to the labels in this case 0 or 3. Nevertheless, it is a multiclass classification. Passing pos_label=None doesn't work as well in this case. Does anyone have a hint what I am doing wrong? Thanks Philipp ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
