Skip to content

rishilss99/Genetic-Algorithms

Repository files navigation

Genetic Algorithm implementations in Python

Implementation of Genetic algorithms for applications:

  • Optimizing continuous functions
  • Feature selection for Machine learning problems
  • Hypertuning Machine learning algorithms

Optimizing the Eggholder function

The Eggholder function is given by:

               f(x, y)=-(y+47) \cdot \sin \sqrt{\left|\frac{x}{2}+(y+47)\right|}-x \cdot \sin \sqrt{|x-(y+47)|} Eggholder Function
Optimization results:

Feature Selection for Machine Learning

We work with the Friedman 1 dataset provided by Scikit-learn: Friedman1 Dataset
Feature Selection results: