Package opennlp.tools.ml.naivebayes

## Class NaiveBayesEvalParameters

- java.lang.Object
- - opennlp.tools.ml.model.EvalParameters
  - - opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters

-     public class NaiveBayesEvalParameters
      extends EvalParameters

  Parameters for the evalution of a naive bayes classifier

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NaiveBayesEvalParameters​(Context[] params, int numOutcomes, double[] outcomeTotals, long vocabulary)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `double[]` | `getOutcomeTotals()` |
    `long` | `getVocabulary()` |

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

      `equals, getNumOutcomes, getParams, hashCode`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NaiveBayesEvalParameters

          public NaiveBayesEvalParameters​(Context[] params,
                                          int numOutcomes,
                                          double[] outcomeTotals,
                                          long vocabulary)

  - ### Method Detail

    - #### getOutcomeTotals

          public double[] getOutcomeTotals()

    - #### getVocabulary

          public long getVocabulary()