Re: [scikit-learn] MultiLabelBinarizer gives individual characters instead of the classes

2019-09-11 Thread Loïc Estève via scikit-learn
I think this caveat has been added in the dev doc (not yet in the stable doc). You may want to read: https://scikit-learn.org/dev/modules/generated/sklearn.preprocessing.MultiLabelBinarizer.html and in particular the part that starts with "A common mistake is to pass in a list". Cheers, Loïc > Hi

[scikit-learn] MultiLabelBinarizer gives individual characters instead of the classes

2019-09-11 Thread Sayak Paul
Hi. I am working on a Multi-label text classification problem. In order to encode the labels, I am using MultiLabelBinarizer. The labels of the dataset look like - [image: image] When I am usin