Method | Description | |
---|---|---|
InitOthers ( ) : void |
Not needed for this training type.
|
|
TrainFlatNetworkManhattan ( FlatNetwork network, IMLDataSet training, double theLearningRate ) : System |
Construct a trainer for flat networks to use the Manhattan update rule.
|
|
UpdateWeight ( double gradients, double lastGradient, int index ) : double |
Calculate the amount to change the weight by.
|
public TrainFlatNetworkManhattan ( FlatNetwork network, IMLDataSet training, double theLearningRate ) : System | ||
network | FlatNetwork | The network to train. |
training | IMLDataSet | The training data to use. |
theLearningRate | double | The learning rate to use. |
return | System |
public final UpdateWeight ( double gradients, double lastGradient, int index ) : double | ||
gradients | double | The gradients. |
lastGradient | double | The last gradients. |
index | int | The index to update. |
return | double |