Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

Update to latest scikit-learn syntax (0.18.1)#3

Open
teoguso wants to merge 2 commits intojakevdp:masterfrom
teoguso:master
Open

Update to latest scikit-learn syntax (0.18.1)#3
teoguso wants to merge 2 commits intojakevdp:masterfrom
teoguso:master

Conversation

@teoguso
Copy link

@teoguso teoguso commented Dec 19, 2016

This leaves the content of the tutorial unchanged, but updates some of the syntax in imports and in the code, depending on what has changed in the scikit-learn API.
It should make the code compliant at least until scikit-learn 0.20.

In a few instances sklearn would throw
deprecation warning (that will become
errors in 0.19) following the recent
restructuring of the package.
This is part II of my polish work, in
order to avoid deprecation warnings
due to old syntax.
It mostly pertains calls to sklearn
functions in the new
sklearn.model_selection container.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant