|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.train.BasicTraining
org.encog.neural.networks.training.simple.TrainAdaline
public class TrainAdaline
Train an ADALINE neural network.
| Constructor Summary | |
|---|---|
TrainAdaline(BasicNetwork network,
MLDataSet training,
double learningRate)
Construct an ADALINE trainer. |
|
| Method Summary | |
|---|---|
boolean |
canContinue()
|
double |
getLearningRate()
|
MLMethod |
getMethod()
Get the current best machine learning method from the training. |
void |
iteration()
Perform one iteration of training. |
TrainingContinuation |
pause()
Pause the training to continue later. |
void |
resume(TrainingContinuation state)
Resume training. |
void |
setLearningRate(double rate)
Set the learning rate. |
| Methods inherited from class org.encog.ml.train.BasicTraining |
|---|
addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, iteration, postIteration, preIteration, setError, setIteration, setTraining |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrainAdaline(BasicNetwork network,
MLDataSet training,
double learningRate)
network - The network to train.training - The training data.learningRate - The learning rate.| Method Detail |
|---|
public final boolean canContinue()
canContinue in interface MLTrainpublic final double getLearningRate()
getLearningRate in interface LearningRatepublic final MLMethod getMethod()
getMethod in interface MLTrainpublic final void iteration()
iteration in interface MLTrainpublic final TrainingContinuation pause()
pause in interface MLTrainpublic void resume(TrainingContinuation state)
resume in interface MLTrainstate - The training continuation object to use to continue.public final void setLearningRate(double rate)
setLearningRate in interface LearningRaterate - The new learning rate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||