Class SimpleModelTrainer

All Implemented Interfaces:
Serializable, DistributionTrainerContext, ModelTrainer

Author:
Matthew Pocock, Thomas Down
See Also:
  • Constructor Details

  • Method Details

    • registerModel

      public void registerModel(MarkovModel model)
      Description copied from interface: ModelTrainer
      Registers an HMM with this trainer.

      If the model has been already registered, then this method should do nothing. If it has not been registered, then this method should loop over every state in the model and register the Distribution returned by getWeight.

      Specified by:
      registerModel in interface ModelTrainer
      Parameters:
      model - the MarkovModel to train