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 34045b8 commit 9192448
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dann.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class DANNeuralNetwork {
let afunc = "";
if (i == 0) {
str = "Input Layer: ";
afunc = " ";
afunc = " ";
} else if (i == this.Layers.length-1) {
str = "Output Layer: ";
afunc = this.aFunc[i-1].name;
Expand All @@ -148,8 +148,9 @@ class DANNeuralNetwork {
console.log(" " + afunc + " " + str + Matrix.toArray(this.Layers[i]).length);
}
console.log(" ");
console.log(" Learning rate:")

console.log(" Other Values: ");
console.log(" Learning rate: " + this.lr);
console.log(" Latest loss: " + this.loss);
}
}

Expand Down

0 comments on commit 9192448

Please sign in to comment.