News for hackers. Stuff that matters.
Re:Show HN: A Genetic Algorithm library written in JavaScript by djaque on Friday August 14, 2020 @03:09PM (#24161998)
The idea of choosing partners based on fitness is implemented in most GAs. It's called selection and a basic form looks like choosing two individuals for each parent and only breeding the fittest in each pair (tournament selection).

Many frameworks also include a "hall of fame" to avoid evolving away from a good point like you mentioned.

Re:Show HN: A Genetic Algorithm library written in JavaScript by bmh100 on Friday August 14, 2020 @04:12PM (#24162695)
The type of selection I was talking about is called "fitness proportionate selection"[1]. I prefer it, mainly because I am more familiar with it.

[1]: https://en.wikipedia.org/wiki/Fitness_proportionate_selectio...

Re:Show HN: A Genetic Algorithm library written in JavaScript by bmh100 on Friday August 14, 2020 @04:24PM (#24162803)
What do you recommend as good GA frameworks?
Re:Show HN: A Genetic Algorithm library written in JavaScript by djaque on Friday August 14, 2020 @04:32PM (#24162909)
DEAP is the well known framework in python.