Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Update dann.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvlevi committed Oct 9, 2020
1 parent 0ae293b commit 58492e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dann.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Dann {
this.weights[0].add(weights_deltas);
this.biases[0].add(this.gradients[0]);

this.loss = this.calcMeanLossError(this.outs,t);
this.loss = this.calcMeanLossError(this.outs,g);
this.losses.push();

}
Expand Down

0 comments on commit 58492e3

Please sign in to comment.