2012/5/6 Andreas Mueller <[email protected]>: > I feel that if a classifier is given only one class, it should somehow > complain and not try to train. > What do you think about that? Should all classifiers check their input > in this way? > Or do we just try to fit the classifier any way?
We should check for this and raise an exception if there's only a single class. -- 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
