我该如何获取逻辑回归中model.coef_RandomForest()等特征的系数?
model = GridSearchCV(estimator=classifier, param_grid=grid_param,
scoring='roc_auc',
cv=5,
n_jobs=-1)
best_model= model.fit(X_train, y_train)
best_model.feature_importances_
Run Code Online (Sandbox Code Playgroud) python machine-learning random-forest scikit-learn cross-validation