Flow
sklearn.naive_bayes.BernoulliNB

sklearn.naive_bayes.BernoulliNB

Visibility: public Uploaded 19-03-2022 by Mor Krispil sklearn==1.0.2 numpy>=1.14.6 scipy>=1.1.0 joblib>=0.11 threadpoolctl>=2.0.0 2 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.0.2
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
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.

Parameters

alphaAdditive (Laplace/Lidstone) smoothing parameter (0 for no smoothing)default: 1.0
binarizeThreshold for binarizing (mapping to booleans) of sample features If None, input is presumed to already consist of binary vectorsdefault: 0.0
class_priorPrior probabilities of the classes. If specified the priors are not adjusted according to the data.default: null
fit_priorWhether to learn class prior probabilities or not If false, a uniform prior will be useddefault: false

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table