CodingTrain / Toy-Neural-Network-JS

Neural Network JavaScript library for Coding Train tutorials
MIT License
425 stars 242 forks source link

User Input needs to be normalized #57

Closed papalotis closed 6 years ago

papalotis commented 6 years ago

During training the input is in [0,...,1] but when creating the user input array the data was copied directly from the graphics element so in [0,...,255] and not normalized

shiffman commented 6 years ago

Oh my! I can't believe I missed this! I think I may actually redo the "coding challenge" again since this is such a major error (and there are other things that could be improved as well.)