Sklearn deprecated fix + python version suggestion + urllib3 version [June 2024]#53
Open
stelais wants to merge 5 commits into
Open
Sklearn deprecated fix + python version suggestion + urllib3 version [June 2024]#53stelais wants to merge 5 commits into
stelais wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sklearn is deprecated, therefore I updated the files
requirements.txtandsetup.pyto usescikit-learninstead (https://github.com/scikit-learn/sklearn-pypi-package). I also added in theREADME.mdfile the suggestion of using python 3.7, since a couple of packages are only available for this python version.I also added a specific version of urllib3==1.26.6 to the requirements, because I was having this error "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2u 20 Dec 2019'" when installing the code in June 2024.