|
The Encog Project | ||||||||
| 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()
|
BasicNetwork |
getNetwork()
Get the current best network from the training. |
int |
getNumThreads()
|
boolean |
isValidResume(TrainingContinuation state)
Determine if this specified training continuation object is valid for this training method. |
void |
iteration()
Perform one training iteration. |
TrainingContinuation |
pause()
Pause the training to continue later. |
abstract void |
performIteration(CalculateGradient prop,
double[] weights)
Perform an iteration. |
void |
resume(TrainingContinuation state)
Resume training. |
void |
setNumThreads(int numThreads)
Set the number of threads. |
| Methods inherited from class org.encog.neural.networks.training.BasicTraining |
|---|
addStrategy, finishTraining, getError, getStrategies, getTraining, postIteration, preIteration, setError, 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 BasicNetwork getNetwork()
Train
public int getNumThreads()
public boolean isValidResume(TrainingContinuation state)
state - The training continuation object to check.
public void iteration()
public TrainingContinuation pause()
public abstract void performIteration(CalculateGradient prop,
double[] weights)
prop - The gradients.weights - The weights.public void resume(TrainingContinuation state)
state - The training continuation object to use to continue.public void setNumThreads(int numThreads)
numThreads - The number of threads.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||