It looks like you should use the
http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MultiLabelBinarizer.html
to convert y_train into a binary indicator matrix format that scikit-learn
can work with.
On 25 March 2016 at 18:42, Enise Basaran wrote:
>
Hi,
I'm studying on web page classification and I have 32 categories like
'Adult', 'Business', 'Education', etc.
OneVsRestClassifier example is below :
X_train = np.array(["new york is a hell of a town",
"new york was originally dutch",
"the big apple is
OneVsRestClassifier already implements Binary Relevance. What is unclear
about our documentation on model evaluation and metrics?
On 25 March 2016 at 00:13, Enise Basaran wrote:
> Hi everyone,
>
> I want to learn binary classifier evaluation metrics please. I implemented
Hi everyone,
I want to learn binary classifier evaluation metrics please. I implemented
"Binary Relevance" method for multilabel classification.*[1] * My
classifiers say "Yes" or "No". How can I calculate accuracy score of my
dataset, what metrics can I use for my binary classifiers? Thanks in