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 81028da commit 34045b8
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 @@ -141,9 +141,9 @@ 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(" " + afunc + " " + str + Matrix.toArray(this.Layers[i]).length);
}
Expand Down

0 comments on commit 34045b8

Please sign in to comment.