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 4, 2020
1 parent 17f4e01 commit 8b7a8eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dann.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ class DANNeuralNetwork {
afunc = " ";
} else if (i == this.Layers.length-1) {
str = "Output Layer: ";
afunc = this.aFunc[i-1].name;
afunc = " ("+this.aFunc[i-1].name+")";
} else {
afunc = this.aFunc[i-1].name;
afunc = " ("+this.aFunc[i-1].name+")";
}
console.log(" " + str + Matrix.toArray(this.Layers[i]).length + " ("+afunc+")");
console.log(" " + str + Matrix.toArray(this.Layers[i]).length + aFunc);
}
console.log(" ");
console.log(" Other Values: ");
Expand Down

0 comments on commit 8b7a8eb

Please sign in to comment.