GaussianNB constructor

GaussianNB(
  1. List<double> classPrior,
  2. List<List> sigma,
  3. List<List> theta,
  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.GaussianNB.html

Implementation

GaussianNB(this.classPrior, this.sigma, this.theta, this.classes);