Re: [Scikit-learn-general] Help: Getting ValueError @precision_recall_fscore_support

2015-04-13 Thread namma igloo
ValueError @precision_recall_fscore_support I think this is because your y_true_combined has five classes, while your labels and target names only have four classes. On 04/13/2015 11:29 AM, namma igloo wrote: Hi

[Scikit-learn-general] Help: Getting ValueError @precision_recall_fscore_support

2015-04-13 Thread namma igloo
Hi, I'm new to sklearn and trying out python-crfsuit example [1] on my own data and following the example code, I'm getting -@precision_recall_fscore_support method: ValueError: too many boolean indices I must note that this method is called by [classification_report] function which I'm

Re: [Scikit-learn-general] Help: Getting ValueError @precision_recall_fscore_support

2015-04-13 Thread namma igloo
if this is related to your problem but you should avoid mutable default argument. Try to replace labels with a tuple. Or assign its default value inside the function. On Mon, Apr 13, 2015, 17:30 namma igloo nammaig...@outlook.com wrote: Hi, I'm new to sklearn and trying out python-crfsuit example [1