9.4: Genetic Algorithm: Looking at Code - The Nature of Code
In part 4 of the series on Genetic Algorithm, I finally look at code! Using p5.js (and Processing / Java in the addendum), I implement the Shakespeare Monkey genetic algorithm example in JavaScript. https://thecodingtrain.com/more/archive/nature-of-code/9-genetic-algorithms/9.4-looking-at-code.html
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/PqRSmKLQU
🎥 Previous video: https://youtu.be/nrKjSeoc7fc?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
🎥 Next video: https://youtu.be/_of6UVV4HGo?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
🎥 All videos: https://www.youtube.com/playlist?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
Links discussed in this video:
🔗 Nature of Code Book: https://natureofcode.com/
🔗 ASCII Table: https://www.asciitable.com/
Timestamps:
0:00 Welcome!
1:14 How do I have the code organized?
2:41 Explore! Creating the population.
5:54 Explore! Calculate fitness.
8:40 Explain! How am I picking the parents?
12:58 Explore! How I am making a matting pool.
15:45 Explore! How am I making a new generation?
17:15 Explore! Crossover and mutation.
19:09 That's everything.
20:27 Ideas! What could you create?
21:30 Addendum! Processing code!
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ Twitter: https://twitter.com/thecodingtrain
📸 Instagram: https://www.instagram.com/the.coding.train/
🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Видео 9.4: Genetic Algorithm: Looking at Code - The Nature of Code канала The Coding Train
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/PqRSmKLQU
🎥 Previous video: https://youtu.be/nrKjSeoc7fc?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
🎥 Next video: https://youtu.be/_of6UVV4HGo?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
🎥 All videos: https://www.youtube.com/playlist?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
Links discussed in this video:
🔗 Nature of Code Book: https://natureofcode.com/
🔗 ASCII Table: https://www.asciitable.com/
Timestamps:
0:00 Welcome!
1:14 How do I have the code organized?
2:41 Explore! Creating the population.
5:54 Explore! Calculate fitness.
8:40 Explain! How am I picking the parents?
12:58 Explore! How I am making a matting pool.
15:45 Explore! How am I making a new generation?
17:15 Explore! Crossover and mutation.
19:09 That's everything.
20:27 Ideas! What could you create?
21:30 Addendum! Processing code!
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ Twitter: https://twitter.com/thecodingtrain
📸 Instagram: https://www.instagram.com/the.coding.train/
🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Видео 9.4: Genetic Algorithm: Looking at Code - The Nature of Code канала The Coding Train
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
9.5: Genetic Algorithm: Fitness, Genotype vs Phenotype - The Nature of CodeReproduce image with genetic algorithmCoding Challenge #29: Smart Rockets in p5.jsGenetic Algorithm In Python Super Basic Example13. Learning: Genetic AlgorithmsThe Knapsack Problem & Genetic Algorithms - ComputerphileGenetic Algorithm C# - Generic ImplementationA.I. teaches itself to drive in TrackmaniaGenetic Algorithm Tutorial - How to Code a Genetic AlgorithmGenetic Algorithms Explained By ExampleHow We Trained a Genetic Algorithm to Fly in Paper Mario: TTYDAlgorytmy ewolucyjne. Wstęp, architektury, algorytmy genetyczne.Getting Started with EasyGA. Genetic Algorithm's made Easy.9.2: Genetic Algorithm: How it works - The Nature of CodeGenetic Algorithm from Scratch in Python (tutorial with code)10.2: Neural Networks: Perceptron Part 1 - The Nature of Code9.3: Genetic Algorithm: Shakespeare Monkey Example - The Nature of CodeCoding Challenge #124: Flocking Simulation