Genetic algorithm based hyperparameter optimalization.
Project description
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
Built Distribution
File details
Details for the file gasearch-0.0.7.tar.gz
.
File metadata
- Download URL: gasearch-0.0.7.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b486707762c1bc02b7236d20436c5f34e4d31e329787994f20a304d64f73fc3 |
|
MD5 | f0a579e8d783e50b4dbbdbebe29ada2b |
|
BLAKE2b-256 | d580cfeb225abf1fdebbe420c2a2ef86843df589a44766041d7ad05407d6236e |
File details
Details for the file gasearch-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: gasearch-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 943bbedf4dbb249dc37243a8a55a697e62190eb96a09356219ecb13deb3f3859 |
|
MD5 | 0b7ca39c2c729694093ef139547986d8 |
|
BLAKE2b-256 | f7f327947b4b015148dcebbfab1ea8fa2c7c4d4a02f0c451dd4983a3daaa5a88 |