jundongl / scikit-feature

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

FCBF with np.zeros #75

Open seth602 opened 1 year ago

seth602 commented 1 year ago

Around line 39 in the code for FCBF uses np.zeros((n_features, 2), dtypes='object') which throws an error. Numpy documentation states the parameter should be dtype (without the 's'). So the line should be np.zeros((n_features, 2), dtype='object') instead. It was an easy enough fix on my own and I saved a separate .py file with the fixed version and it worked.