Let's Train A Neural Network!
Last time, we trained a simple perceptron and saw how it is learning over time. Today, let's train a neural network!
You will be able to clearly see and understand the learning steps by hitting the "Step By Step Training" button below.
On the other hand, you can hit the "start auto training" button to trigger 10 000 learning cycles. When the training is done, you'll see that the neural network is making less and less errors over time, therefore guessing more correctly. It's learning!
The method used is 'supervised learning'. It means that we have a dataset with inputs and known answers (outputs) to train the neural network to correctly guess the answers over time. We'll use the simple xor dataset.
Grab the whole code on my github page if you like!
Did you enjoy this article? Send a tip!
Bitcoin address: bc1q2wyvxgelyhvrunyrlzdennt4fnl5z2cu5vyny2
Ethereum address: 0x23568b37327dE6Be3f2A993B49fA6afD82f38f14