How to get the features selected by the RandomizedSearchCV for LGBMClassifier model?
问题 I'm using the RandomizedSearchCV (sklearn) model selection to find out the best fit for a LightGBM LGBMClassifier model, but I'm facing issues to figure out which features has been selected for that. I can print out the the importance of each one by: lgbm_clf = lgbm.LGBMClassifier(boosting_type='gbdt',.... lgbm_clf.fit(X_train, y_train) importance_type = lgbm_clf.importance_type lgbm_clf.importance_type = "gain" gain = lgbm_clf.feature_importances_ lgbm_clf.importance_type = "split" split =