-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH use utility _check_sample_weight in _BaseDiscreteNB #16263
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
ENH use utility _check_sample_weight in _BaseDiscreteNB #16263
Conversation
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, thanks @Batalex !
As a side comment to reviewers, we need to evaluate whether the parent issue should now be closed.
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.
thanks @Batalex. Just a small comment.
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.
Waiting for CI to be green
@Batalex Thanks for the PR. |
Reference Issues/PRs
This is the last unchecked item in #15358.
What does this implement/fix? Explain your changes.
This PR uses the
_check_sample_weight
utils function for validating the sample weights array in_BaseDiscreteNB
.Any other comments?