# How to obtain Accuracy of Feature Selection methods?

I used the following methods:

Variance_Threshold: selecto_vth = VarianceThreshold(threshold=1.0)

ANOVA: anova = SelectKBest(score_func=f_classif, k=20)

Mutual_Information: fs_mutual = SelectKBest(score_func=mutual_info_classif, k=20)

Sequential_Feature_Selector: sfs = SequentialFeatureSelector(RandomForestClassifier(), n_features_to_select=20, scoring='accuracy')

But I did not find how to get the their Accuracy, unlike Recursive Feature Elimination:

print(accuracy_score(y_test, rfe.predict(x_test))) # it worked

• one way is to create a model with the (best) selected features and measure the accuracy of the model – Nikos M. Jun 23 at 14:39
• Dear @NikosM. Thank you :) – Mimi Jun 23 at 15:01