Package opennlp.tools.ml.model

# Class EvalParameters

java.lang.Object
opennlp.tools.ml.model.EvalParameters

Direct Known Subclasses:
  `NaiveBayesEvalParameters`

public class EvalParameters extends Object
This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EvalParameters(Context[] params, int numOutcomes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `int`
  `getNumOutcomes()`
  `Context[]`
  `getParams()`
  `int`
  `hashCode()`

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

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

- ## Constructor Details

  - ### EvalParameters

    public EvalParameters(Context[] params, int numOutcomes)

- ## Method Details

  - ### getParams

    public Context[] getParams()

  - ### getNumOutcomes

    public int getNumOutcomes()

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`