private ConvertHopfieldMatrix ( Matrix delta ) : void | ||
delta | Matrix | The amount to change the weights by. |
Результат | void |
private void ConvertHopfieldMatrix(Matrix delta)
{
// add the new weight matrix to what is there already
for (int row = 0; row < delta.Rows; row++)
{
for (int col = 0; col < delta.Rows; col++)
{
AddWeight(row, col, delta[row, col]);
}
}
}