Skip to main content

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 animated

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)

Source distribution for redsho 0.1.0
File Size Uploaded
redsho-0.1.0.tar.gz 452.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for redsho 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page