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 Sep 18, 2020
1 parent d16b14e commit a3335de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dann.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ class Dann {
let layer = new Matrix(size,1);
this.Layers.splice(this.Layers.length-1,0,layer);
if (act !== undefined) {
this.aFunc[this.Layers.length-1] = JSON.parse(act);
this.aFunc_d[this.Layers.length-1] = JSON.parse(act + "_d");
this.aFunc[this.Layers.length-1] = JSON.parse(act + "()");
this.aFunc_d[this.Layers.length-1] = JSON.parse(act + "_d()");
}
}
calcMeanLossError(arr,target) {
Expand Down

0 comments on commit a3335de

Please sign in to comment.