9.5: Genetic Algorithm: Fitness, Genotype vs Phenotype - The Nature of Code

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=_of6UVV4HGo



Duration: 14:36
102,711 views
1,612


In part 5 of my genetic algorithm series I discuss how you can adapt the algorithm for your own creative project. The key pieces are designing and implementing a custom "fitness function" as well as how you choose to encode your DNA (genotype vs phenotype). https://thecodingtrain.com/more/archive/nature-of-code/9-genetic-algorithms/9.5-fitness-genotype-vs-phenotype.html

๐Ÿ•น๏ธ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/BOTCxBDbO

๐ŸŽฅ Previous video: https://youtu.be/-jv3CgDN9sc?list=RxTfc4JLYKs&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
๐ŸŽฅ Next video: https://youtu.be/HzaLIO9dLbA?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/
๐Ÿ”— BoxCar 2D: http://boxcar2d.com/
๐Ÿ”— Genetic Programming Mona Lisa: https://rogerjohansson.blog/2008/12/07/genetic-programming-evolution-of-mona-lisa/
๐Ÿ”— Steering Behaviors: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YHt0dtyf4uiw8tKOxQLvlW

Timestamps:
0:00 Welcome back!
1:00 Let's look at some examples.
3:19 The two places you'll have to change.
4:45 Explain! Genotype vs phenotype.
7:23 Case study: smart rockets sketch.
13:55 Ideas! How will you make something?

๐Ÿš‚ 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







Tags:
genetic
nature of code
algorithm
the nature of code
daniel shiffman
creative coding
genetic algorithms
evolution
genetic algorithm
coding
p5.js
p5js
p5.js tutorial
object oriented programming
shakespeare monkey
infinite monkey
genotype
phenotype
genotype vs phenotype
DNA
Darwin
evolutionary
evolutionary computing
survival of the fitest
evolutionary algorithm
fitness function