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

MAINT Clean deprecation for 1.2: learning_rate and init in TSNE #24389

Merged
merged 5 commits into from
Sep 9, 2022

Conversation

glemaitre
Copy link
Member

Handle the ending deprecation for learning_rate and init by:

  • adding versionchanged
  • removing the filterwarnings in the tests.
  • checking the examples and removing unnecessary parameter settings.

@glemaitre glemaitre added No Changelog Needed Quick Review For PRs that are quick to review and removed module:manifold labels Sep 7, 2022
Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a quickfix.

sklearn/manifold/_t_sne.py Show resolved Hide resolved
Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sklearn/manifold/_t_sne.py Outdated Show resolved Hide resolved
@jeremiedbb
Copy link
Member

I'm not sure about codecov here. It complains that a branch with init="random" is not covered but there's at least 1 test that sets init="random".

@glemaitre
Copy link
Member Author

Yep, I don't understand codecov. There are several tests with "random" since it is an obligation for the "precomputed" option.

@glemaitre glemaitre merged commit 5da77c1 into scikit-learn:main Sep 9, 2022
@glemaitre
Copy link
Member Author

Merging since we have 2 approvals and that I don't trust codecov after checking the tests.

glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Sep 12, 2022
…it-learn#24389)

Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Needed Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants