Genetic algorithm based hyperparameter optimalization.
Project description
geneticsearchcv - Genetic algorithm based hyperparameter tuner
geneticsearchcv - Finding hyperparameters the way nature intended
Hyperparameter search isn’t an exact science. We’ve all heard that one.
geneticsearchcv 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.4.tar.gz
.
File metadata
- Download URL: gasearch-0.0.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3b02c2241a051f2136f8ac3370a9941710f3414d9d1fbaba0790985c0c6f19 |
|
MD5 | 9337a4dc0b684f0d59f42e8b7dc62272 |
|
BLAKE2b-256 | 281edc1286d50df14a06baa004373d2785759ce940f1b46b5015aeb0dd49cc37 |
File details
Details for the file gasearch-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gasearch-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d30853c9add8df41309e23946e5f8b7e4f4283a2f8a57c1cf6c4520c52768f02 |
|
MD5 | 1af403d19a8df91a3ec54d2e0f01ce2b |
|
BLAKE2b-256 | 5c117829b9a221e307b58bc251f3d90b12842713130159b8307cd52bc9009693 |