Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Wrong version of scikit-learn #8

Open
royantoine opened this issue Dec 16, 2021 · 1 comment
Open

Wrong version of scikit-learn #8

royantoine opened this issue Dec 16, 2021 · 1 comment

Comments

@royantoine
Copy link
Collaborator

When installing the bot-finder package using pip install, it installed scikit learn version 1.0.1. However when running the code, I got a warning telling me that I should use version 0.24.2 of scikit learn. And no default version of scikit-learn is specified in the requirements.txt file.
The classifier seems to have been trained with 0.24.2 while when installing it we get version 1.0.1. According to scikit doc, this can lead to some predictions errors.
See section 9.1.1 of https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations.

@martinratinaud
Copy link
Member

Thanks for the report, I just had the same problem

I tried adding scikit-learn==0.24.2 to requirements.txt solve the problem but I still get module compiled against API version 0xf but this version of numpy is 0xe

If you have any insights, I'd be glad @royantoine

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

No branches or pull requests

2 participants