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:
  • EvalParameters
  • Constructor Summary

    Constructors
    Constructor
    Description
    NaiveBayesEvalParameters(opennlp.tools.ml.model.Context[] params, int numOutcomes, double[] outcomeTotals, long vocabulary)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
     
    long
     

    Methods inherited from class opennlp.tools.ml.model.EvalParameters

    equals, getNumOutcomes, getParams, hashCode

    Methods inherited from class Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • 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()