Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples are not compatible with scikit-learn 0.20.4 #54

Open
josepsmartinez opened this issue Mar 31, 2020 · 0 comments
Open

Examples are not compatible with scikit-learn 0.20.4 #54

josepsmartinez opened this issue Mar 31, 2020 · 0 comments

Comments

@josepsmartinez
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant