On Thu, Feb 02, 2012 at 08:04:03PM +0900, Mathieu Blondel wrote: > I personally don't like using -1 to encode unlabeled data. I would > prefer np.nan (which require y to be np.float) or -2 (if you prefer y > to be np.int).
I am against nan, but I might agree with you that -1 is not ideal. I suggest we discuss this in a more general setting than this particular PR. There is some work to be done to homogenize the different semi-supervised learn estimators anyhow. Gael ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
