I wanted to watch a neural network learn [P]
Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.
| I wanted to really see how a neural network learns different functions, so built an interactive demo. You can change the architecture of the network and the function it will try to approximate. A fully-connected network with ReLU activations will create a piecewise linear function. For a network with a single layer, the maximum number of segments the network can create is 1 + the width of the layer. For instance, if you enter "3" into the hidden layers your network can have up to 4 segments. If you add another hidden layer afterwards, it multiplies the max number of segments. So "3 3" becomes 4x4=16. After training, the network rarely achieves the maximum though. Here is the demo: https://blog.lukesalamone.com/posts/can-a-neural-net-learn [link] [comments] |
More from r/MachineLearning
-
Jev to retrieve memories is a game changer [P]
Sep 20
-
AI/ML and sensitive production data in fintech and healthcare? Where is the data going? Can it be made sense of? [D]
Sep 20
-
ProgramAsWeights: compile English function descriptions into neural programs that run locally [R]
Sep 19
-
Experimenting with hypersurface-constrained dynamic weight updating [P]
Sep 19
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.