I have been trying to execute the examples in source code (in particular http://featureselection.asu.edu) and I am struggling with which scikit-learn version to use.
By default (if no particular version is specified) pip download scikit-learn version 0.20.4. This version yields the following error:
ImportError: cannot import name cross_validation
I have tried manually installing older versions, but got different errors.
Versions 0.10 and 0.12 yield
ImportError: cannot import name accuracy_score
Version 0.15 yields
ImportError: No module named skfeature.function.similarity_based
Could you provide which version of scikit-learn, numpy and scipy should be installed to execute the examples?
Anyway, I am able to import the algorithms from skfeature.function.*, the issue is on running the examples.
Thank you.
System configuration:
Python 2.7.17 (Anaconda)
Numpy 1.16.4
SciPy 1.2.3
I have been trying to execute the examples in source code (in particular
http://featureselection.asu.edu
) and I am struggling with whichscikit-learn
version to use.By default (if no particular version is specified)
pip
downloadscikit-learn
version 0.20.4. This version yields the following error:I have tried manually installing older versions, but got different errors.
Versions 0.10 and 0.12 yield
Version 0.15 yields
Could you provide which version of
scikit-learn
,numpy
andscipy
should be installed to execute the examples?Anyway, I am able to import the algorithms from
skfeature.function.*
, the issue is on running the examples.Thank you.
System configuration: Python 2.7.17 (Anaconda) Numpy 1.16.4 SciPy 1.2.3