Class NaiveBayesEvalParameters
java.lang.Object
opennlp.tools.ml.model.EvalParameters
opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
public class NaiveBayesEvalParameters
extends opennlp.tools.ml.model.EvalParameters
Specialized
parameters for the evaluation of a naive bayes classifier- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNaiveBayesEvalParameters(opennlp.tools.ml.model.Context[] params, int numOutcomes, double[] outcomeTotals, long vocabulary) -
Method Summary
Methods inherited from class opennlp.tools.ml.model.EvalParameters
equals, getNumOutcomes, getParams, hashCode
-
Constructor Details
-
NaiveBayesEvalParameters
public NaiveBayesEvalParameters(opennlp.tools.ml.model.Context[] params, int numOutcomes, double[] outcomeTotals, long vocabulary)
-
-
Method Details
-
getOutcomeTotals
public double[] getOutcomeTotals() -
getVocabulary
public long getVocabulary()
-