Let's build a #NeuralNetwork from scratch. After seeing many demos of how an AI solves a problem or plays a game, I realized there are not enough videos of how to actually write such an AI, so I set myself to write a Neural Network and a Genetic Algorithm to teach itself to play the Snake Game. This is the first episode in this series.
"What is a neural network?" by 3Blue1Brown: • But what is a neural network? | Deep learn...
Source code: https://github.com/AppliedCodingClub/...
Blog post: https://blog.appliedcoding.club/2021/...
0:00 Intro
0:47 Crash Course into Neural Networks
1:59 Layers or a Neural Network
2:25 Fully Connected Forward Feeding Huh?
3:30 Weights and Biases
4:21 Inputs and Activations
4:57 Forward Propagation
5:55 Normalizing Activation Values - Sigmoid/ReLU
6:47 Biases and Matrices Multiplication
7:46 Let's Write a Neural Network in Java
9:00 Constructing an Empty Neural Network
9:44 Copy Constructor NeuralNetwork Class
11:29 Deserialize Neural Network from File
11:58 Processing Inputs Forward Propagation
13:32 Activation Functions
14:17 HiddenLayer Class Constructors
15:52 Copy Constructor HiddenLayer Class
16:30 Multiply Weights x Activations and Add Biases
18:21 BackPropagation in Another Episode
19:14 Testing Forward Propagation
20:53 That's All, Folks!
#GeneticAlgorithm #ArtificialIntelligence #Java #LearnToCode #AI #LiveCoding #Coding
👨💻 About me
🖥 I am a software developer with more than 20 years of experience in the tech industry. I love to teach, debug problems and optimize my code for perfection.
📽 In my channel, you find videos describing how to solve coding problems, develop games, prep for job interviews and overall talk tech. I chose the name AppliedCoding, because I will teach you exactly that - applied coding - I show you how to analyze real problems, break them down into manageable chunks, come up with an algorithm, choose the right data structures, talk about the pros and cons… and only then code the solution.
*****
👉 Blog: https://blog.appliedcoding.club
👉 Instagram: / appliedcoding
👉 Facebook: / appliedcodingclub
👉 Github: https://github.com/AppliedCodingClub