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,
I'm new to sklearn and trying out python-crfsuit example [1] on my own
data and following the example code, I'm getting -
] function bio_classification_report () -
http://nbviewer.ipython.org/github/tpeng/python-crfsuite/blob/master/examples/CoNLL%202002.ipynb
Date: Mon, 13 Apr 2015 18:27:20 -0400
From: t3k...@gmail.com
To: scikit-learn-general@lists.sourceforge.net
Subject: Re: [Scikit-learn-general] Help: Getting
-crfsuite/blob/master/examples/CoNLL%202002.ipynb
--
Date: Mon, 13 Apr 2015 18:27:20 -0400
From: t3k...@gmail.com
To: scikit-learn-general@lists.sourceforge.net
Subject: Re: [Scikit-learn-general] Help: Getting ValueError
@precision_recall_fscore_support
I think
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
/26778500/valueerror-too-many-boolean-indices-for-a-n-600-array-float
From: lucapug...@gmail.com
Date: Mon, 13 Apr 2015 16:04:51 +
To: scikit-learn-general@lists.sourceforge.net
Subject: Re: [Scikit-learn-general] Help: Getting ValueError
@precision_recall_fscore_support
I do not know
I do not know 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