In this Genetic Algorithm video, I discuss improvements and strategies for “pool selection” (such as rejection sampling / monte carlo simulation) to pick “parents” based on probabilities mapped to their fitness score.

Support this channel on Patreon:

Send me your questions and coding challenges!:

Contact:

Links discussed in this video:
GitHub Issue about Pool Selection:
Rejection Sampling on Wikipedia:

Source Code for the Video Lessons:

p5.js:
Processing:

For More Genetic Algorithm videos:

For More Nature of Code videos:

Help us caption & translate this video!