Skip to content

Commit

Permalink
Update lib/scholar/naive_bayes/bernoulli.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Nov 27, 2024
1 parent f7b89bc commit 8b03416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/scholar/naive_bayes/bernoulli.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
defmodule Scholar.NaiveBayes.Bernoulli do
@moduledoc """
Naive Bayes classifier for multivariate Bernoulli models.
Like MultinomialNB, this classifier is suitable for discrete data. The
difference is that while MultinomialNB works with occurrence counts,
BernoulliNB is designed for binary/boolean features.
Expand Down

0 comments on commit 8b03416

Please sign in to comment.