public class SRNTrainer extends BackpropTrainer
IterableTrainer.StoppingCondition
Trainer.DataNotInitializedException
Constructor and Description |
---|
SRNTrainer(SimpleRecurrentNetwork srn)
Construct the SRN trainer.
|
Modifier and Type | Method and Description |
---|---|
void |
randomize()
Randomize the network.
|
protected void |
updateNetwork()
Update internally constructed network.
|
apply, getError, getLearningRate, getMomentum, randomize, setLearningRate, setMomentum
addErrorListener, fireErrorUpdated, getErrorListeners, getErrorThreshold, getIteration, getIterationsBeforeStopping, getMinimumNumRows, getStoppingCond, getStoppingCondition, getValidationError, incrementIteration, isUpdateCompleted, iterate, removeErrorListener, setErrorThreshold, setIteration, setIterationsBeforeStopping, setStoppingCond, setStoppingCondition, setUpdateCompleted
addListener, fireProgressUpdate, fireTrainingBegin, fireTrainingEnd, getListeners, getTrainable, getTrainableNetwork, removeListener, revalidateSynapseGroups
public SRNTrainer(SimpleRecurrentNetwork srn)
srn
- the simple recurrent networkpublic void randomize()
BackpropTrainer
randomize
in class BackpropTrainer
protected void updateNetwork()
BackpropTrainer
updateNetwork
in class BackpropTrainer