在 gridsearchCV 中,当我适合如下内容时:
forest_reg = RandomForestRegressor()
grid_search = GridSearchCV(forest_reg, param_grid,cv=5,scoring = 'neg_mean_squared_error')
grid_search.fit(X_train,y_train)
之后,当我执行此操作时,
GridSearch.best_estimator_.feature_importances_
它给出了一个值数组,所以我的问题是GridSearch.best_estimator_.feature_importances_
这条线返回什么值?