Brainwave icon indicating copy to clipboard operation
Brainwave copied to clipboard

Error in line 426 of Brainwave.js

Open Castle33 opened this issue 8 years ago • 0 comments

I have found an error that prevented the library from creating a network with more than one hidden layer.

Original code:

    for (var i = 0; i < this.numHiddenLayers - 1; i++) { 

Corrected code:

    for (var i = 0; i < NeuralNetwork.numHiddenLayers - 1; i++) {

Castle33 avatar Feb 14 '17 17:02 Castle33