diff --git a/MultiLayerNN.js b/MultiLayerNN.js new file mode 100644 index 0000000..ed862ba --- /dev/null +++ b/MultiLayerNN.js @@ -0,0 +1,109 @@ +function sigmoid(x) { + return 1/(1+Math.exp(-x)); +} + +function derivSigmoid(x) { + return x*(1-x); +} + + +function meanError(m) { + let sum=0; + for(let i=0;i