jundongl / scikit-feature

open-source feature selection repository in python
GNU General Public License v2.0
1.51k stars 447 forks source link

Maybe a mistake in CFS #67

Open rmontanana opened 3 years ago

rmontanana commented 3 years ago

Hi

Maybe I'm wrong but I think that

rff *= 2

should be:

rff *= (n_features **2 - n_features)

in the merit calculation function

Thanks for sharing your code!