Neat stuff, fun to play with. I wasn't able to get a net to classify the swiss roll. Last time I was playing around with this stuff I found the single biggest factor in the success was the optimizer used. Is this just using a simple gradient descent? I would like to see a drop down for different optimizers.
Tinker with a Neural Network in Your Browser
11–20 of 122 posts
Re: Tinker with a Neural Network in Your Browser
#12Re: Tinker with a Neural Network in Your Browser
#13http://ml4a.github.io/dev/demos/cifar_confusion.html http://ml4a.github.io/dev/demos/mnist_confusion.html
Something about the high-speed updating makes me think of WOPR, in 'War Games', scoring nuclear-war scenarios.
Re: Tinker with a Neural Network in Your Browser
#14Re: Tinker with a Neural Network in Your Browser
#15Earlier quoted context omitted.
There is a reason why sin(X) is an input property. :p
Using sin(x) or the other input features like x^2 goes back to making it too easy, though. So far the best I can do is 7 layers of 7 which gets a loss of 0.02. 3x7 is almost cracking the Swiss Roll but can't quite finish it off and gets stuck at 0.05: https://imgur.com/Z3f2ECc ... Surprisingly, 2x8 can do it, as long as I have noise or regularization on, but 8/7 then seriously struggles. Is 16 neurons a critical limi…
In the "swiss cake roll" the circular nature of the classes suggests using a sin or cos function, and the fact that they spiral out suggests also inputting magnitude information. Sure, you can just add more neurons that will end up computing the same thing, but we might as well give the computer a head start when we can.
Re: Tinker with a Neural Network in Your Browser
#16Can somebody explain what I'm watching when I press play?
Re: Tinker with a Neural Network in Your Browser
#17Neat stuff, fun to play with. I wasn't able to get a net to classify the swiss roll. Last time I was playing around with this stuff I found the single biggest factor in the success was the optimizer used. Is this just using a simple gradient descent? I would like to see a drop down for different optimizers.
Re: Tinker with a Neural Network in Your Browser
#18Can somebody explain what I'm watching when I press play?
> Next, the network is asked to solve a problem, which it attempts to do over and over, each time strengthening the connections that lead to success and diminishing those that lead to failure.
On each iteration, it calculates how bad the predicted output is, then adjusts the weights between neurons to lessen that value. Google backpropagation for more info
Re: Tinker with a Neural Network in Your Browser
#19Can somebody explain what I'm watching when I press play?
Re: Tinker with a Neural Network in Your Browser
#20Earlier quoted context omitted.
Using sin(x) or the other input features like x^2 goes back to making it too easy, though. So far the best I can do is 7 layers of 7 which gets a loss of 0.02. 3x7 is almost cracking the Swiss Roll but can't quite finish it off and gets stuck at 0.05: https://imgur.com/Z3f2ECc ... Surprisingly, 2x8 can do it, as long as I have noise or regularization on, but 8/7 then seriously struggles. Is 16 neurons a critical limi…
Is it really "making it too easy" if you're applying your knowledge of the structure of the problem space to make it easier for the computer to solve? Certainly this isn't easy to do with every problem, but it seems like a better idea in general to start with parameters you suspect to be correct. In the "swiss cake roll" the circular nature of the classes suggests using a sin or cos function, and the fact that they s…
I'd quite like if you could define your own input patterns and data sets.