cazala / synaptic

architecture-free neural network library for node.js and the browser
http://caza.la/synaptic
Other
6.92k stars 666 forks source link

explicitly passing CROSS_ENTROPY to trainer in self-organizing map example #305

Open dscripps opened 6 years ago

dscripps commented 6 years ago

In the master branch version of the Hopfield network, the default cost is MSE, but it is CROSS_ENTROPY in the gh-pages branch.. The example cannot work as-is in the master branch version of the library without passing the CROSS_ENTROPY cost function. I added it to the example to make that more obvious.