How to tune parameters in Random Forest, using Scikit Learn?

前端 未结 4 2053
滥情空心
滥情空心 2020-12-23 09:47
class sklearn.ensemble.RandomForestClassifier(n_estimators=10,
                                              criterion=\'gini\', 
                                            


        
4条回答
  •  旧时难觅i
    2020-12-23 10:20

    n_estimators is good one as others said. It is also good at dealing with the overfitting when increasing it.

    But I think min_sample_split is also helpful when dealing with overfitting occurred in a small-sample but big-features dataset.

提交回复
热议问题