Flow
sklearn.naive_bayes.BernoulliNB

sklearn.naive_bayes.BernoulliNB

Visibility: public Uploaded 22-11-2019 by Jan van Rijn sklearn==0.21.2 numpy>=1.6.1 scipy>=0.9 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_0.21.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: true

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table