9.8: Genetic Algorithm: Improved Pool Selection - The Nature of Code
In this video, I look at yet another technique for "pool selection" -- how to pick an item randomly from an array with a non-uniform distribution, i.e. some elements have higher probability of being picked than others. I use this same method in my Traveling Salesperson coding challenge, but it can be applied more broadly.
💻Code : https://github.com/CodingTrain/Rainbow-Code
🎥Previous video : https://youtu.be/816ayuhDo0E
🎥Next video : https://youtu.be/Zy_obitkyOE
Links discussed in this video:
🔗The Nature of Code Part 2 : https://github.com/shiffman/NOC-S17-2-Intelligence-Learning
🔗Nature of Code: http://natureofcode.com/
GitHub Issue on Better GA Selection Pool: https://github.com/CodingTrain/Rainbow-Topics/issues/146
🔗GitHub Issue on GA: Random Pool Selection: https://github.com/CodingTrain/Rainbow-Topics/issues/119
🔗 Traveling Salesperson Coding Challenge : https://youtu.be/M3KTWnTrU_c
🚂Website: https://thecodingtrain.com/
💡Github: https://github.com/CodingTrain
💬Discord: https://discord.gg/hPuGy2g
💖Membership: https://youtube.com/thecodingtrain/join
🛒Store: https://standard.tv/collections/the-coding-train
📚Books: https://www.amazon.com/shop/thecodingtrain
🖋️Twitter: https://twitter.com/thecodingtrain
🎥Genetic Algorithm: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
🎥Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
🌐Help us caption and translate: http://www.youtube.com/timedtext_cs_panel?c=UCvjgXvBlbQiydffZU7m1_aw&tab=2
🚩Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
👾Share your contribution: https://thecodingtrain.com/Guides/community-contribution-guide.html
🔗 p5.js: https://p5js.org
🔗 Processing: https://processing.org