r/algorithms • • Dec 07 '18

Genetic Algorithm - Applications & Examples

https://codecampanion.blogspot.com/2018/12/genetic-algorithm-explained.html
28 Upvotes

5 comments sorted by

View all comments

2

u/e_for_oil-er Dec 07 '18

I implemented a genetic algorithm in an Optimization class, and I was surprised of the efficiency and precision it had! In some cases (bumpy functions with a lot of local minimums), the algorithm (differential evolution) was better than traditional gradient descent methods because it could go "uphill" when reaching a local convexity zone, something gradient methods do not usually allow.