8000 Documentaion for #10772 MultinomialNB alpha>0 · bhaskarb/scikit-learn@66d6c74 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66d6c74

Browse files
author
Bhaskar Bharath
committed
Documentaion for scikit-learn#10772 MultinomialNB alpha>0
1 parent ccbf997 commit 66d6c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/naive_bayes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ in the training set :math:`T`,
127127
and :math:`N_{y} = \sum_{i=1}^{|T|} N_{yi}` is the total count of
128128
all features for class :math:`y`.
129129

130-
The smoothing priors :math:`\alpha \ge 0` accounts for
130+
The smoothing priors :math:`\alpha > 0` accounts for
131131
features not present in the learning samples and prevents zero probabilities
132132
in further computations.
133133
Setting :math:`\alpha = 1` is called Laplace smoothing,

0 commit comments

Comments
 (0)
0