Why do I get different values with pipline and without pipline in sklearn in python

ぃ、小莉子 提交于 2019-12-02 02:29:12

In with pipeline case,

Feature selection (RFECV) is carried out with base model (RandomForestClassifier(random_state = 42, class_weight="balanced")) before applying the grid_searchCV on final estimator.

In without pipeline case,

For each combination of hyperparameter, the corresponding estimator is used for feature selection (RFECV). Hence, it would be time consuming.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!