public class SimpleModelTrainer extends SimpleDistributionTrainerContext implements ModelTrainer, Serializable
| Constructor and Description |
|---|
SimpleModelTrainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerModel(MarkovModel model)
Registers an HMM with this trainer.
|
addCount, clearCounts, getCount, getNullModelWeight, getTrainer, registerDistribution, registerTrainer, setNullModelWeight, trainclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCount, clearCounts, getCount, getNullModelWeight, getTrainer, registerDistribution, registerTrainer, setNullModelWeight, trainpublic SimpleModelTrainer()
public void registerModel(MarkovModel model)
ModelTrainerIf 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.
registerModel in interface ModelTrainermodel - the MarkovModel to trainCopyright © 2020 BioJava. All rights reserved.