public class MultinomialNaiveBayesOptions extends Object implements ClassificationOptions<MultinomialNaiveBayesTrainer>
Modifier and Type | Field and Description |
---|---|
double |
mnbAlpha |
Constructor and Description |
---|
MultinomialNaiveBayesOptions() |
Modifier and Type | Method and Description |
---|---|
MultinomialNaiveBayesTrainer |
getTrainer()
Constructs the trainer based on the provided arguments.
|
@Option(charName=97, longName="mnb-alpha", usage="Smoothing parameter for the conditional probabilities.") public double mnbAlpha
public MultinomialNaiveBayesTrainer getTrainer()
ClassificationOptions
getTrainer
in interface ClassificationOptions<MultinomialNaiveBayesTrainer>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.