Re: [Scikit-learn-general] Better precision for class probabilities (predict_proba).

2014-06-03 Thread Gilles Louppe
Hi Pranav, You should increase the number of trees. By default, it is set to 10, which would explain why you don't reach higher precision. Best, Gilles On 3 June 2014 07:32, Pranav O. Sharma emailpra...@gmail.com wrote: Hi, I'm trying to use

Re: [Scikit-learn-general] Better precision for class probabilities (predict_proba).

2014-06-03 Thread Pranav O. Sharma
Thanks a lot. With 100 trees, I'm getting double digit precision now. Is that the max you can get with 100 trees? predicted by rf... [[ 0.42 0.58] [ 0.64 0.36] [ 0.39 0.61] [ 0.39 0.61] [ 0.54 0.46] [ 0.58 0.42] [ 0.71 0.29] [ 0.25 0.75] [ 0.68 0.32] [ 0.41 0.59] [ 0.38 0.62]

Re: [Scikit-learn-general] Better precision for class probabilities (predict_proba).

2014-06-03 Thread Gilles Louppe
If your trees are fully developped (which is the case by default), then class probabilities represent the proportion of trees predicting the given class. So yes, with 100 trees, precision is limited to 2 digits. On 3 June 2014 08:29, Pranav O. Sharma emailpra...@gmail.com wrote: Thanks a lot.

Re: [Scikit-learn-general] Storing the values of internal nodes in DecisionTrees

2014-06-03 Thread Zach Dwiel
I am the author of that branch. Please let me know if there is anything I can do to help merge when it comes to be that time. Thanks zach On Mon, Jun 2, 2014 at 7:14 AM, Olivier Grisel olivier.gri...@ensta.org wrote: 2014-06-02 9:25 GMT+02:00 Lars Buitinck larsm...@gmail.com: 2014-06-02

Re: [Scikit-learn-general] Storing the values of internal nodes in DecisionTrees

2014-06-03 Thread John Prior
I can no longer compile the changes since I'm now working on a Windows box (cygwin) and haven't figured out how to configure it correctly. I resorted to asking the mailing list to make the change (or an option to toggle the feature) since I'm out of options until I figure out how to start building