|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.networks.training.BasicTraining
org.encog.neural.networks.training.propagation.Propagation
public abstract class Propagation
Implements basic functionality that is needed by each of the propagation methods. The specifics of each of the propagation methods is implemented inside of the PropagationMethod interface implementors.
| Constructor Summary | |
|---|---|
Propagation(BasicNetwork network,
NeuralDataSet training)
Construct a propagation object. |
|
| Method Summary | |
|---|---|
boolean |
canContinue()
|
void |
finishTraining()
Should be called after training has completed and the iteration method will not be called any further. |
FlatNetwork |
getCurrentFlatNetwork()
|
TrainFlatNetwork |
getFlatTraining()
|
BasicNetwork |
getNetwork()
Get the current best network from the training. |
int |
getNumThreads()
|
OpenCLTrainingProfile |
getProfile()
|
boolean |
isValidResume(TrainingContinuation state)
Determine if this specified training continuation object is valid for this training method. |
void |
iteration()
Perform one training iteration. |
void |
iteration(int count)
Perform the specified number of training iterations. |
TrainingContinuation |
pause()
Pause the training to continue later. |
void |
resume(TrainingContinuation state)
Resume training. |
void |
setFlatTraining(TrainFlatNetwork flatTraining)
|
void |
setNumThreads(int numThreads)
Set the number of threads. |
| Methods inherited from class org.encog.neural.networks.training.BasicTraining |
|---|
addStrategy, getCloud, getError, getIteration, getStrategies, getTraining, isTrainingDone, postIteration, preIteration, setCloud, setError, setIteration, setTraining |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Propagation(BasicNetwork network,
NeuralDataSet training)
network - The network.training - The training set.| Method Detail |
|---|
public boolean canContinue()
public void finishTraining()
finishTraining in interface TrainfinishTraining in class BasicTrainingpublic FlatNetwork getCurrentFlatNetwork()
public TrainFlatNetwork getFlatTraining()
public BasicNetwork getNetwork()
Train
public int getNumThreads()
public OpenCLTrainingProfile getProfile()
public boolean isValidResume(TrainingContinuation state)
state - The training continuation object to check.
public void iteration()
public void iteration(int count)
iteration in interface Trainiteration in class BasicTrainingcount - The number of training iterations.public TrainingContinuation pause()
public void resume(TrainingContinuation state)
state - The training continuation object to use to continue.public void setFlatTraining(TrainFlatNetwork flatTraining)
flatTraining - the flatTraining to setpublic void setNumThreads(int numThreads)
numThreads - The number of threads.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||