redsho
Robust Evolutionary Direction Set Hyperparameter Optimizer
It's a discrete optimizer, which means that it works with parameters that can only take on a certain set of values. This works well for evaluating neural networks and other large and complex models, since it takes so long to train and test them, and since the hyperparameters can have non-intuitive, strongly non-linear, and interactive effects.
REDSHO (pictured in action above), an evolutionary search algorithm variant inspired by direction set methods like Powell's method, so much so that it was originally called Evolutionary Powell's method . Here is a detailed description of how it works. As far as I know this method is novel and has not previously been published. Please let me know if you've seen something like it before.
Installation
Clone the repository to your local machine and install it from there.
git clone https://codeberg.org/brohrer/redsho.git
python3 -m pip install -e redsho
Run the demo
python3
>>> import redsho.demo
Parallelization
REDSHO can seamlessly take advantage of multiple processor systems. Instead of
import redsho.redsho
try
import redsho.redsho_parallel
It automatically recuits all your processors but one to do its bidding.
Release files for redsho 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redsho-0.1.0.tar.gz | 452.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| redsho-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 461.5 kB
Release files / redsho-0.1.0.tar.gz
| Download URL | redsho-0.1.0.tar.gz |
|---|---|
| Size | 452.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49743e20fa4af3a4067106dd37b88315f934df10d1b9b7aacfa27e4da764922
|
|
BLAKE2b-256 checksum How to use checksums |
7759bb9467ab9cdb19faedd07c6660b2e4017c0c7670404c46b017b3618cdedd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|
Release files / redsho-0.1.0-py3-none-any.whl
| Download URL | redsho-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c73e81bcbfe5091dee1c9268575beb1f14db7c320c8eecbeeae2d6f46b836dbb
|
|
BLAKE2b-256 checksum How to use checksums |
414a6e60668f3f380e1c2a17311f895aad2cc8fa3e2046c6273782a77d6575cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|