# Uses of Interface
opennlp.tools.ml.model.Prior

Packages that use Prior
Package
Description
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.model
Package related to ML models and feature selection techniques.

- ## Uses of Prior in opennlp.tools.ml.maxent

  Methods in opennlp.tools.ml.maxent with parameters of type Prior
  Modifier and Type
  Method
  Description
  `GISModel`
  GISTrainer.`trainModel(int iterations, DataIndexer di, Prior modelPrior, int threads)`
  Trains a model using the GIS algorithm.
  Constructors in opennlp.tools.ml.maxent with parameters of type Prior
  Modifier
  Constructor
  Description
  ``
  `GISModel(Context[] params, String[] predLabels, String[] outcomeNames, Prior prior)`
  Initializes a `GISModel` with the specified parameters, outcome names, and predicate/feature labels.

- ## Uses of Prior in opennlp.tools.ml.model

  Classes in opennlp.tools.ml.model that implement Prior
  Modifier and Type
  Class
  Description
  `class`
  `UniformPrior`
  Provide a maximum entropy model with a uniform `Prior`.
  Fields in opennlp.tools.ml.model declared as Prior
  Modifier and Type
  Field
  Description
  `protected Prior`
  AbstractModel.`prior`
  Prior distribution for this model.