Genetic Algorithm from Scratch | Demystified in Java

preview_player
Показать описание
I built a#GeneticAlgorithm from scratch in Java that I use to train a #NeuralNetwork to play the Snake game.
In this video I explain the concepts of a GA -- Selection, Roulette Wheel Selection, Crossover, Mutation, Default Mutation Rate, and then I showcase the Java code that implements these concepts.

Resources:

0:00 Intro
0:37 Crash Course into Genetic Algorithms
1:35 Selection
3:04 Crossover
4:21 Mutation
5:31 Coding time
6:47 Selection method
7:35 Fitness function
9:34 Roulette wheel selection method
11:22 Crossover method
14:26 Mutate method
16:34 Default mutation rate
19:42 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.

*****
Рекомендации по теме
Комментарии
Автор

You are a awesome at explaining things love your videos!!

reylycoreas
Автор

Difficult, but I hope to understand it in the near future :) interesting videos, thanks

blabberq