Package opennlp.tools.ml.naivebayes
Class NaiveBayesEvalParameters
java.lang.Object
opennlp.tools.ml.model.EvalParameters
opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
Specialized
parameters
for the evaluation of a naive bayes classifier- See Also:
-
Constructor Summary
ConstructorDescriptionNaiveBayesEvalParameters
(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(Context[] params, int numOutcomes, double[] outcomeTotals, long vocabulary)
-
-
Method Details
-
getOutcomeTotals
public double[] getOutcomeTotals() -
getVocabulary
public long getVocabulary()
-