/anaconda3/envs/tensorflow/lib/python3.6/site-packages/sklearn/ensemble/forest.py:246: FutureWarning: The default value of n_estimators will change from 10 in version 0.20 to 100 in 0.22.
"10 in version 0.20 to 100 in 0.22.", FutureWarning)
解決方式
ExtraTreesClassifier(n_estimators=100)
RandomForestClassifier(n_estimators=100)
參考
https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.html
沒有留言:
張貼留言