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.
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.