What are the differences between the below feature selection methods?
Do the below codes do the same? If not, what are the differences?
fs = RFE(estimator=RandomForestClassifier(), n_features_to_select=10)
fs.fit(X, y)
print(fs.support_)
fs= RandomForestClassifier(),
fs.fit(X, y)
print(fs.feature_importances_[:10,])
Topic scikit-learn feature-selection machine-learning
Category Data Science