Re: [Scikit-learn-general] Categorical values and decision tree classifier

2013-09-12 Thread yegle
Hi Kyle, Thank you for the hint, really a good idea :-) -- yegle http://about.me/yegle On Sep 12, 2013, at 10:14 PM, Kyle Kastner wrote: > You can do some regexes for the tree in string form directly to modify the > output, then write out the modified dotfile. As an example (from some

Re: [Scikit-learn-general] Categorical values and decision tree classifier

2013-09-12 Thread yegle
Thank you Olivier, this does solves my problem. Although not very perfect. Now the node was marked with "humidity=high <= 0.5000". It'll be great if I can remove the "<=0.5000" part. -- yegle http://about.me/yegle On Sep 12, 2013, at 3:16 AM, Olivier G

[Scikit-learn-general] Categorical values and decision tree classifier

2013-09-11 Thread yegle
eed to vectorize the training set myself and the graph makes more sense to a beginner. [1]: http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html -- yegle http://about.me/yegle