XOR

In this sample, a simple perceptron (2 inputs, 3 hidden and 1 output neurons) will be trained to learn how to solve an XOR.

var perceptron = new Architect.Perceptron(2,3,1);
perceptron.trainer.XOR(); 

input: {{result.input}}    output: {{ result.output }}  {{ result.target }}  


Iterations: {{results.iterations}} - MSE: {{results.error.toFixed(4)}} - Time: {{results.time}} ms