[scikit-learn] is RandomForest random samples or random features?

斌洪 hongbinopen at gmail.com
Tue Sep 13 04:15:31 EDT 2016


I have read the Guide of sklearn's RandomForest :

"""
In random forests (see RandomForestClassifier
<http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier>
and RandomForestRegressor
<http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.html#sklearn.ensemble.RandomForestRegressor>
classes), each tree in the ensemble is built from a sample drawn with
replacement (i.e., a bootstrap sample) from the training set.
"""

But I prefer RandomForest as :
"""
features ("attributes", "predictors", "independent variables") are randomly
sampled
"""

is RandomForest random samples or random features? where can I find a
features random version of RandomForest?

thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160913/3692ad49/attachment.html>


More information about the scikit-learn mailing list