- Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH add score_samples method in base search CV and add tests#17478
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
Conversation
cc @thomasjpfan who reviewed the previous PR |
Please fix the linting issues :) |
There was a problem hiding this 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 @teonbrooks !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our linter runs on the diff made by the PR, so the lint issues outside the diff will not make the linter fail.
Given this was during the sprint, I think this is okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thank you for the PR @teonbrooks !
Please add an entry to the change log at |
#DataUmbrella sprint |
fix indenting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM.
* add score_samples method in base search CV and add tests * add tests and change implem * fix pep8 * address some pr comments * Update test_search.py remove deprecation warnings * address some linting issues * Update test_search.py * update whats_new fix indenting * update test_search.py Co-authored-by: Mohamed Maskani <maskani.mohamed@gmail.com>
* add score_samples method in base search CV and add tests * add tests and change implem * fix pep8 * address some pr comments * Update test_search.py remove deprecation warnings * address some linting issues * Update test_search.py * update whats_new fix indenting * update test_search.py Co-authored-by: Mohamed Maskani <maskani.mohamed@gmail.com>
Reference Issues/PRs
Fixes#12542.
Building on and closes#16275.
What does this implement/fix? Explain your changes.
This adds the ability to call
score_samples
on the estimator with the best found parameters in *SearchCV instances.