Skip to content

TST remove tests for default change warnings in test_svm.py #23030

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

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

iasoon
Copy link
Contributor

@iasoon iasoon commented Apr 2, 2022

Reference Issues/PRs

Related to #22572

What does this implement/fix? Explain your changes.

These tests were added in #10331 to warn users about a change in the default value for gamma. The code has since been removed, so I think the tests could go, too.

Any other comments?

I left in the check that tested the computed gamma value, since i could not find another test for that. Maybe ti would be better to add a more rigorous test for this, though, and replace the test_gamma_scale that I left.

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

LGTM

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.

Thanks @iasoon

@jeremiedbb jeremiedbb merged commit 54bc691 into scikit-learn:main Apr 4, 2022
@iasoon iasoon deleted the test_svm_warnings branch April 4, 2022 15:01
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants