Let's Train A Neural Network!

6/29/2019 - Category: ai, coding, research,

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.

I coded the following animation using javascript and p5.js on top of the awesome Daniel Shiffman's neural network toy library.

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

Share This Post!

Related Posts To Category "ai"

Let's Create And Train Digital Babies!


Let's Train A Perceptron!


All Categories

ai, coding, cooking, drawing, grammys, outperformance, mentoring, music, research, socialmedia, strategy, trading, travelling