8000 D01 10772 "alpha" by alex-greff · Pull Request #2 · SkuaD01/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

D01 10772 "alpha" #2

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 accou 8000 nt related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2021
Merged

D01 10772 "alpha" #2

merged 1 commit into from
Mar 7, 2021

Conversation

alex-greff
Copy link

Fixes scikit-learn#10772

What does this implement/fix? Explain your changes.

For MultinomialNB and BernoulliNB it is documented that their alpha values
can be set to 0 to disable smoothing. However, a warning that alpha is too
small is printed when the user attempts to do that. The purpose of this issue
was to stop the warning from occurring when using alpha=0 with
MultinomialNB and BernoulliNB instances.

Any other comments?

None

@alex-greff alex-greff requested a review from SeanApplebaum March 6, 2021 19:46
@SeanApplebaum
Copy link

Looks great!

@SeanApplebaum SeanApplebaum merged commit 22d9d97 into main Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BernoulliNB and MultinomialNB documentation for alpha=0
2 participants
0