2012/5/19 Mathieu Blondel <[email protected]>: > When `y` has shape (n_samples, 1), LabelBinarizer recognizes it as an > indicator matrix and return it as is... Lars, do you know what's the use > case for accepting indicator matrices in LabelBinarizer? (I don't > remember...) I would expect # [1] and # [2] to return the same thing.
I don't know, and git log/git blame aren't helpful since the history starts when we moved everything to the sklearn package, but this is certainly not documented. Can you try removing this "feature" and running the tests? -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
