public class HopfieldTrainer extends Trainer
Trainer.DataNotInitializedException
Constructor and Description |
---|
HopfieldTrainer(Hopfield hop)
Construct the Hopfield trainer.
|
Modifier and Type | Method and Description |
---|---|
void |
apply()
Apply the algorithm.
|
addListener, fireProgressUpdate, fireTrainingBegin, fireTrainingEnd, getListeners, getTrainable, getTrainableNetwork, removeListener, revalidateSynapseGroups
public HopfieldTrainer(Hopfield hop)
hop
- the hopfield networkpublic void apply() throws Trainer.DataNotInitializedException
Trainer
apply
in class Trainer
Trainer.DataNotInitializedException
- when input or target data have not been set.