Skip to main content

Genetic algorithm based hyperparameter optimalization.

Project description

ReadTheDocs

gasearch - Genetic algorithm based hyperparameter tuner

gasearch - Finding hyperparameters the way nature intended

Hyperparameter search isn’t an exact science. We’ve all heard that one.

gasearch searches the parameter space using genetic algorithm, with multiple solutions in each generation competing for inclusion in the next.

Mutation of the existing solutions introduces new characteristics and crossover helps the beneficial traits spread across the population. At the same time, proportional selection prevents early convergence of algorithm on local minimum, keeping the population diverse and dynamic.

However, since genetic algorithms are heuristic, there can not be any guarantee that the solution delivered is the optimal one for a given problem. Regardless of the number of iterations.

The package follows scikit-learn API conventions and can be readily integrated with existing pipelines.

TODO:
  • Implement alternative selection algorithms

  • Publish more examples

  • Implement alternative crossover operations

  • Improve docs

  • Optimize, optimize, optimize …

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gasearch-0.0.6.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

gasearch-0.0.6-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page