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 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