2012/5/6 Gael Varoquaux <[email protected]>:
> On Sun, May 06, 2012 at 10:36:04PM +0200, Andreas Mueller wrote:
>> Maybe we can include it with other checks,
>
> Sounds good.

I suggest we solve it with a utility method in ClassifierMixin. That
method could also set the classes_ attribute on the classifier.

>> and maybe with a call to "unique" for the labels.
>
> I'd rather use 'ptp': peak to peak:

That won't work when class labels aren't numeric. Several classifiers
currently support non-numeric class labels (Naive Bayes, SGD).

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

Reply via email to