> Just checking: presumably it should raise an error if it's anything greater
> than 1d? Also, it might be good to check that arr.dtype.kind == 'i', or
> maybe
> one of 'i' or 'b' (it'd be kind of stupid to call LabelBinarizer on boolean
> labels, but presumably it should just be a no-op in that case).
>
>
+1 for raising an error if greater than 1d but rather -1 for checking the
type (people will still start getting errors if `y` contains integers
encoded as float).

Mathieu
------------------------------------------------------------------------------
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

Reply via email to