I'm trying to use VarianceThreshold and I'm getting error:
ValueError: No feature in X meets the variance threshold 0.16000
My code:
from sklearn.feature_selection import VarianceThreshold
sel = VarianceThreshold(threshold=(.8 * (1 - .8)))
sel.fit(X)
X has the following properties:
Shape = (4898, 11)
Type: = <class 'pandas.core.frame.DataFrame'>
What is wrong ?