From 8b7a8ebd122c37306ad46a3b583ec047babd3241 Mon Sep 17 00:00:00 2001 From: Matias Vazquez-Levi <50473168+matiasvlevi@users.noreply.github.com> Date: Fri, 4 Sep 2020 15:37:09 -0400 Subject: [PATCH] Update dann.js --- dann.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dann.js b/dann.js index d55b7028..85e05bfc 100644 --- a/dann.js +++ b/dann.js @@ -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: ");