mathematics, yay

This commit is contained in:
Ghost_Element 2023-09-23 20:43:50 +02:00
parent 3557c28392
commit 19f5a77845

View file

@ -276,7 +276,7 @@ void apply_weights(Neural_Network* network, Matrix* delta_weights_matrix, int in
for (int i = 0; i < delta_weights_matrix->rows; i++) {
for (int j = 0; j < delta_weights_matrix->columns; j++) {
network->weights[index]->numbers[i][j] += delta_weights_matrix->numbers[i][j];
network->weights[index]->numbers[i][j] += delta_weights_matrix->numbers[i][j]; // multiply delta_weights_matrix with learning rate AND - instead of + because soll-ist
}
}
}