2012/11/9 Gael Varoquaux <[email protected]>:
> On Fri, Nov 09, 2012 at 05:05:54PM +0100, [email protected] 
> wrote:
>> Thus, one may assume that string values as classes - "0" and "1" - rather
>> than integer values as classes - 0 and 1 - does not work?
>
> I'd use floats in general, although with the random forests it is
> probably not important.

Floats for class labels? I've been trying to avoid that everywhere and
get as many classifiers as possible to accept strings. LabelEncoder
also returns integers.

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to