wagenaartje / neataptic

:rocket: Blazing fast neuro-evolution & backpropagation for the browser and Node.js
https://wagenaartje.github.io/neataptic/
Other
1.18k stars 278 forks source link

Error rate constant #134

Open adrian2x opened 6 years ago

adrian2x commented 6 years ago

Why is my error not changing? this means the network is not learning...

iteration 8 error 0.21693097170474318 rate 0.2
network.js:587
iteration 9 error 0.21693097170474318 rate 0.2
network.js:587
iteration 10 error 0.21693097170474318 rate 0.2
network.js:587
iteration 11 error 0.21693097170474318 rate 0.2
network.js:587
iteration 12 error 0.21693097170474318 rate 0.2
network.js:587
iteration 13 error 0.21693097170474318 rate 0.2
network.js:587
iteration 14 error 0.21693097170474318 rate 0.2
network.js:587
iteration 15 error 0.21693097170474318 rate 0.2
network.js:587
iteration 16 error 0.21693097170474318 rate 0.2
network.js:587
iteration 17 error 0.21693097170474318 rate 0.2
network.js:587
iteration 18 error 0.21693097170474318 rate 0.2
network.js:587
iteration 19 error 0.21693097170474318 rate 0.2
network.js:587
iteration 20 error 0.21693097170474318 rate 0.2
...
ghost commented 6 years ago

Most likely your training set is broken ?

dan-ryan commented 6 years ago

Can you post some working code? That way we can help debug this issue.

ghost commented 6 years ago

Check the Synaptic XOR example, I rebuild my code based on that and all works fine now.