Post by Ariel RokemPost by Andreas MuellerHi Ariel.
We are not storing them any more because of memory issues, but you can
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/ensemble/forest.py#L76
indices = _generate_sample_indices(tree.random_state, n_samples)
Yes - very helpful - thanks! I have recorded our full solution for
http://stackoverflow.com/questions/35832786/in-bag-for-randomforest-objects/35872711
Post by Andreas MuellerHth,
Andy
Hi everyone,
Is there some way to identify the samples that were used in constructing
each tree in a RandomForest* object?
I am looking for the equivalent of "keep.inbag" in this R
http://math.furman.edu/~dcs/courses/math47/R/library/randomForest/html/randomForest.html
Thanks!
Ariel
------------------------------------------------------------------------------
_______________________________________________
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
Transform Data into Opportunity.
Intel Data Analytics Acceleration Library.
Click to learn more.