I am getting the following warning message when trying to use Feature Selection and f_classif (ANOVA test) on some data in sklearn:
C:\Users\Alexander\Anaconda3\lib\site-packages\sklearn\feature_selection\univariate_selection.py:113: UserWarning: Features ... are constant. UserWarning)
The features that the warning message indicated were constant apparently had p-values of 0. I was unable to find any information about what was causing this warning. The github file for this particular function is here: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/feature_selection/univariate_selection.py
Any help would be appreciated, thanks.