BernoulliNB constructor

BernoulliNB(
  1. List<double> priors,
  2. List<List> negProbs,
  3. List<List> delProbes,
  4. List<int> classes,
)

To manually instantiate the GaussianNB. The parameters are lifted directly from scikit-learn. See the attributes here: https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.BernoulliNB.html

Implementation

BernoulliNB(this.priors, this.negProbs, this.delProbes, this.classes);