Method | Description | |
---|---|---|
CalculateGradients ( ) : void |
Calculate the gradients. They are normalized as well.
|
|
Iteration ( ) : void |
Perform one iteration.
|
|
TrainFlatNetworkSCG ( |
Construct the training object.
|
|
UpdateWeight ( double gradients, double lastGradient, int index ) : double |
Update the weights.
|
Method | Description | |
---|---|---|
Init ( ) : void |
Calculate the starting set of gradients.
|
public TrainFlatNetworkSCG ( |
||
network | The network to train. | |
training | IEngineDataSet | The training data to use. |
return | Encog.Engine.Data |
public UpdateWeight ( double gradients, double lastGradient, int index ) : double | ||
gradients | double | The current gradients. |
lastGradient | double | The last gradients. |
index | int | The index. |
return | double |