public interface ModelTrainer extends DistributionTrainerContext
Modifier and Type | Method and Description |
---|---|
void |
registerModel(MarkovModel model)
Registers an HMM with this trainer.
|
addCount, clearCounts, getCount, getNullModelWeight, getTrainer, registerDistribution, registerTrainer, setNullModelWeight, train
void registerModel(MarkovModel model)
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.
model
- the MarkovModel to trainCopyright © 2014 BioJava. All rights reserved.