|
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
org.encog.neural.networks.training.propagation.scg.ScaledConjugateGradient
public class ScaledConjugateGradient
This is a training class that makes use of scaled conjugate gradient methods. It is a very fast and efficient training algorithm.
| Field Summary | |
|---|---|
protected static double |
FIRST_LAMBDA
The starting value for lambda. |
protected static double |
FIRST_SIGMA
The starting value for sigma. |
| Constructor Summary | |
|---|---|
ScaledConjugateGradient(BasicNetwork network,
NeuralDataSet training)
Construct a training class. |
|
| Method Summary | |
|---|---|
void |
iteration()
Perform one iteration. |
void |
performIteration(CalculateGradient prop,
double[] weights)
Not used. |
| Methods inherited from class org.encog.neural.networks.training.propagation.Propagation |
|---|
canContinue, getNetwork, getNumThreads, isValidResume, pause, resume, setNumThreads |
| 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 |
| Field Detail |
|---|
protected static final double FIRST_SIGMA
protected static final double FIRST_LAMBDA
| Constructor Detail |
|---|
public ScaledConjugateGradient(BasicNetwork network,
NeuralDataSet training)
network - The network to train.training - The training data.| Method Detail |
|---|
public void iteration()
iteration in interface Trainiteration in class Propagation
public void performIteration(CalculateGradient prop,
double[] weights)
performIteration in class Propagationprop - Not used.weights - Not used.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||