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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gasearch-0.0.6.tar.gz.

File metadata

  • Download URL: gasearch-0.0.6.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for gasearch-0.0.6.tar.gz
Algorithm Hash digest
SHA256 21ec7b8c78b2d3eeed2466152bef104dda15fa4d02b4774cc8717781bc1af2b9
MD5 51865924cb435046e32e99e480c7189a
BLAKE2b-256 2af954716592aeed965793faa794b9edb58d4cbbf9953d6bba9d91b99a4d611c

See more details on using hashes here.

File details

Details for the file gasearch-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: gasearch-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for gasearch-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7f64631f496d5b34256d3e61e956460d6bd55d00487d0c6d5a6a152692e474ab
MD5 14d104c3fec451ab0cffc8646c1e0c8c
BLAKE2b-256 68d8cdeafa7abe8faa4f7256c9a4638a54e902e3d763b043ba2a97998b7ffd62

See more details on using hashes here.

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