Comparing version 0.2.2 to 0.2.3
@@ -127,2 +127,4 @@ var math = require('mathjs'); | ||
this.neuron = neuron; | ||
if (neuron == "sigmoid") { | ||
@@ -138,2 +140,3 @@ this.activationFunction = neuralMath.sigmoid; | ||
} else { | ||
this.neuron = "sigmoid"; | ||
this.activationFunction = neuralMath.sigmoid; | ||
@@ -140,0 +143,0 @@ this.activationDerivative = neuralMath.dSigmoid; |
{ | ||
"name": "3net.js", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A simple library for implementing 3 layer neural networks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15086
247