I'm running feature selection with mlxtend
library:
classifier = RandomForestClassifier()
sfs = SequentialFeatureSelector(classifier,
k_features="best",
forward=True,
floating=True,
scoring='average_precision',
cv=2,
n_jobs=-1)
But it seems that is preserved features with standard deviation = 0
How can it be ?
I read that wrapper methods suppose to give best results, and it seems that features with STD=0 need to be the first features to exclude.
What am I missing ?