[scikit-learn] Issue with DecisionTreeClassifier
cs14btech11041 at iith.ac.in
Mon Aug 29 23:03:59 EDT 2016
What does the estimator.tree_.value array represent? I looked up the source
code but not able to get what it is. I am interested in the number of
training samples of each class in a given tree node.
On Mon, Aug 29, 2016 at 9:22 PM, Andreas Mueller <t3kcit at gmail.com> wrote:
> On 08/28/2016 03:23 PM, Nelson Liu wrote:
> That should be:
> node indicator = estimator.tree_.decision_path(X_test)
> PR welcome :)
> Was there a reason not to make this a "plot" example?
> Would it take too long? Not having run examples by CI is a pretty big
> maintenance burden.
> scikit-learn mailing list
> scikit-learn at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scikit-learn