Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
nn-mnist.sennabaum.com
Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
1–10 of 20 posts
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#2Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#3There is a considerable lag when I drag and release the slider. I assume you are doing some intense computation, but perhaps allow the UI to be responsive while you are doing so?
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#4There is a considerable lag when I drag and release the slider. I assume you are doing some intense computation, but perhaps allow the UI to be responsive while you are doing so?
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#5There is a considerable lag when I drag and release the slider. I assume you are doing some intense computation, but perhaps allow the UI to be responsive while you are doing so?
Or maybe just show a spinner to communicate "doing some intense computation"?
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#6There is a considerable lag when I drag and release the slider. I assume you are doing some intense computation, but perhaps allow the UI to be responsive while you are doing so?
That's a good point. I tried some light optimizations using ShouldComponentUpdate in React, but I believe the bottleneck is a synchronous blocking call in the D3 rendering process. Larger networks write up 25,000 SVG elements, and I was not sure how to significantly improve rendering speed. Someone suggested Canvas with D3 could speed rendering up?
Edit: So it's the rendering that's hard on the CPU. Canvas would probably improve performance. Also, the graphic is so simple and there doesn't seem to be any event listeners on the edges themselves, that converting should be trivial :)
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#7Earlier quoted context omitted.
That's a good point. I tried some light optimizations using ShouldComponentUpdate in React, but I believe the bottleneck is a synchronous blocking call in the D3 rendering process. Larger networks write up 25,000 SVG elements, and I was not sure how to significantly improve rendering speed. Someone suggested Canvas with D3 could speed rendering up?
If possible, send it off to a web worker? That free's up the UI thread Edit: So it's the rendering that's hard on the CPU. Canvas would probably improve performance. Also, the graphic is so simple and there doesn't seem to be any event listeners on the edges themselves, that converting should be trivial :)
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#8There is a considerable lag when I drag and release the slider. I assume you are doing some intense computation, but perhaps allow the UI to be responsive while you are doing so?
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#9Has anyone tried training a neural network on anything that isn't the NIST digits? I've seen that one so done to death and a dearth of other examples that I'm starting to get skeptical that it would work on any other cases.
Or is it that the data is expensive and the data "scientist" is cheap?
Re: Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
#10You should not draw too much conclusion from a network with accuracy < 97%, because you probably just have bad hyperparameters (except for conclusions about which hyperparameters you need to tune).