public class LMSIterative extends IterableTrainer
IterableTrainer.StoppingCondition
Trainer.DataNotInitializedException
Constructor and Description |
---|
LMSIterative(Trainable network)
Construct a least mean squares iterative panel.
|
Modifier and Type | Method and Description |
---|---|
void |
apply()
Apply the algorithm.
|
double |
getError()
Get the current MSE error.
|
double |
getLearningRate() |
void |
randomize()
A standard way of randomizing networks to which LMSIterative is applied,
by randomizing bias on output nodes and the single layer of weights.
|
void |
setLearningRate(double learningRate) |
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 LMSIterative(Trainable network)
network
- public double getError()
getError
in class IterableTrainer
public void apply()
Trainer
public void randomize()
randomize
in class IterableTrainer
public double getLearningRate()
public void setLearningRate(double learningRate)
learningRate
- the learningRate to set