jundongl / scikit-feature

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

IndexError in FCBF.py #60

Open EioA opened 4 years ago

EioA commented 4 years ago

https://github.com/jundongl/scikit-feature/blob/48cffad4e88ff4b9d2f1c7baffb314d1b3303792/skfeature/function/information_theoretical_based/FCBF.py#L53

In the line # 53 in FCBF algorithm we are getting IndexError, it can be fixed by writing: fp= X[:, int(s_list[idx, 0])] instead of, fp= X[:, s_list[idx, 0]]