Hi Randy,

You're right that the current implementation doesn't support non-numeric types 
(for efficiency and compatibility with other sklearn classifiers), but you're 
also right that trees can theoretically support any type as input so long as 
the < operator is defined for it. I'm not sure whether this will end up being 
supported in sklearn. 

Brian

 
-----Original Message-----
From: Randy Liu <[email protected]>
Date: Thu, 7 Jun 2012 15:27:17 
To: <[email protected]>
Reply-To: [email protected]
Subject: [Scikit-learn-general] Question about Scikit-learn Decision Tree
 using Mixed Type inputs and String Inputs

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