ammarblue / encog-java

Automatically exported from code.google.com/p/encog-java
0 stars 0 forks source link

FeedforwardConfig.suggestNormalizationStrategy setting inputLow (should be outputLow). #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Values for BasicNormalizer are defaulted for a TANH type output, then a series 
of negative values are passed to the outputFunction and if they are all greater 
than zero, the *inputLow* is changed from -1 to 0.
        double[] d = { -1000, -100, -50 };
        outputFunction.activationFunction(d, 0, d.length);

        if( d[0]>0 && d[1]>0 && d[2]>0 ) {
            inputLow=0;    // this should be outputLow=0;
        }

Original issue reported on code.google.com by hifranks...@gmail.com on 21 Nov 2014 at 4:43