Added HTML debug for MNIST NN
I've added some visualization on the NN status and predictions. I was inspired by this article on ML4A.
Also, I've reduced strokeWeight since it will provide a better result (when downscaling to 28x28, if the stroke is too high, it will produce a weird image).
Awesome stuff! Can you post a link to this running in the browser? It makes it easier to review. (You can create one via your fork and github pages. If you need help, let me know!)
@shiffman never did GitHub pages, any help will be appreciated! Maybe a YouTuber made a video about this ;)
BTW, I see that in README.md there's already a link to the examples on a GitHub pages fashion...
Yes, so if you go to the settings of your fork:
https://github.com/CodingTrain/arisanguinetti/
and enable github pages for the "visualize" branch then I'd be able to see it at:
https://arisanguinetti.github.io/Toy-Neural-Network-JS/examples/mnist/
@shiffman I'm not able to add GitHub pages to branches other than master... I might be able to merge visualize into master, but then I'll have to keep it up to date, right?
Oh that's right. . .since it's your fork it's ok to have the proposed changes be in master. But maybe someone who has a better idea can weigh in. Also, maybe I'm just being lazy, I can pull your branch and look on my computer locally!
@shiffman I'm trying to keep my master in sync with the master of the repo, so If I want to collaborate, I just add a new branch based on the master to create a pull request... I think I can merge the visualize branch into master, and use another branch to keep it in sync with upstream repo...
Well after this back and forth I think the simplest for you to be able to review it should be me merging the branches, so here it is:
https://arisanguinetti.github.io/Toy-Neural-Network-JS/examples/mnist/
Once you approved the pull request, I can get it back in sync with the upstream ;)