Méthode | Description | |
---|---|---|
CalculateGradients ( ) : void |
Calculate the gradients. They are normalized as well.
|
|
InitOthers ( ) : void |
Not needed for this training type.
|
|
Iteration ( ) : void |
Perform one iteration.
|
|
TrainFlatNetworkSCG ( FlatNetwork network, IMLDataSet training ) : System |
Construct the training object.
|
|
UpdateWeight ( double gradients, double lastGradient, int index ) : double |
Update the weights.
|
Méthode | Description | |
---|---|---|
Init ( ) : void |
Calculate the starting set of gradients.
|
public TrainFlatNetworkSCG ( FlatNetwork network, IMLDataSet training ) : System | ||
network | FlatNetwork | The network to train. |
training | IMLDataSet | The training data to use. |
Résultat | System |
public UpdateWeight ( double gradients, double lastGradient, int index ) : double | ||
gradients | double | The current gradients. |
lastGradient | double | The last gradients. |
index | int | The weight index being updated. |
Résultat | double |