Neural-Network-p5 icon indicating copy to clipboard operation
Neural-Network-p5 copied to clipboard

Performance - MNIST demo

Open shiffman opened this issue 8 years ago • 2 comments

Right now it calculates a percentage completed since the sketch first begins. There's probably a better way to think about this.

shiffman avatar Apr 12 '17 20:04 shiffman

The traditional way is to query all of testing data at once and calculate the accuracy, and do this every so often, lets say every 100 iterations...

lazovicff avatar Apr 19 '17 07:04 lazovicff

Indeed, one reason why I didn't do this is that I would like the animation to run continuously at a relatively fast framerate. Running through all the data cannot be done reasonably on a per frame basis. However, I could only update the performance rating once it's made a full pass over the test data (and possibly increase to 2, 3, etc. data points per frame.)

shiffman avatar Apr 19 '17 20:04 shiffman