# Uses of Interface
opennlp.tools.ml.EventTrainer

Packages that use EventTrainer
Package
Description
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.maxent.quasinewton
Package related to ML by means of the Quasi Newton (QN) algorithm.
opennlp.tools.ml.naivebayes
Package related to ML by means of the Naive Bayes algorithm.
opennlp.tools.ml.perceptron
Package related to ML by means of the perceptron algorithm.

- ## Uses of EventTrainer in opennlp.tools.ml

  Classes in opennlp.tools.ml that implement EventTrainer
  Modifier and Type
  Class
  Description
  `class`
  `AbstractEventTrainer`
  A basic `EventTrainer` implementation.
  Methods in opennlp.tools.ml that return EventTrainer
  Modifier and Type
  Method
  Description
  `static EventTrainer`
  TrainerFactory.`getEventTrainer(TrainingParameters trainParams, Map<String,String> reportMap)`
  Works just like `TrainerFactory.getEventTrainer(TrainingParameters, Map, TrainingConfiguration)` except that `TrainingConfiguration` is initialized with default values.
  `static EventTrainer`
  TrainerFactory.`getEventTrainer(TrainingParameters trainParams, Map<String,String> reportMap, TrainingConfiguration config)`
  Retrieves an `EventTrainer` that fits the given parameters.

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

  Classes in opennlp.tools.ml.maxent that implement EventTrainer
  Modifier and Type
  Class
  Description
  `class`
  `GISTrainer`
  An implementation of Generalized Iterative Scaling (GIS).

- ## Uses of EventTrainer in opennlp.tools.ml.maxent.quasinewton

  Classes in opennlp.tools.ml.maxent.quasinewton that implement EventTrainer
  Modifier and Type
  Class
  Description
  `class`
  `QNTrainer`
  A Maxent model `trainer` using the L-BFGS algorithm.

- ## Uses of EventTrainer in opennlp.tools.ml.naivebayes

  Classes in opennlp.tools.ml.naivebayes that implement EventTrainer
  Modifier and Type
  Class
  Description
  `class`
  `NaiveBayesTrainer`
  Trains `models` using the combination of EM algorithm and Naive Bayes classifier which is described in:

- ## Uses of EventTrainer in opennlp.tools.ml.perceptron

  Classes in opennlp.tools.ml.perceptron that implement EventTrainer
  Modifier and Type
  Class
  Description
  `class`
  `PerceptronTrainer`
  Trains `models` using the perceptron algorithm.