jundongl / scikit-feature

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

Update CFS.py #74

Open poetair opened 2 years ago

poetair commented 2 years ago

The original function involves a lot of repeated operations, and when the number of features is large, it takes a lot of time. Using a dict R to store the calculated correlation values can improve the speed by 1-2 orders of magnitude.