Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //i = layer we are currently working in
- for (j = 0; j < outputs[i].length; j++) {
- Sum = 0;
- for (k = 0; k < outputs[i + 1].length; k++) {
- Sum = Sum + weights[i + 1][k][j] * error_signals[i + 1][k];
- }
- error_signals[i][j] = derivatives[i][j] * Sum;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement