implementation of scheduling function utils
Project description
Scheduler Utils
Implements some scheduling functions to decay or ramp values across timestamps.
Install with: pip install scheduling_utils
To initialize and use for example a cosine scheduler, do the following:
from schedulers import CosineScheduler
start_step = 0
stop_step = 10
start_value = 5
stop_value = 20
scheduler = CosineScheduler(start_step, stop_step, start_value, stop_value)
# get values corresponding to step
for step in range(10):
value = scheduler.step(step)
Available Schedulers at current version:
- Linear
- Cosine
- LinearCosine
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
scheduling_utils-0.1.1.tar.gz
(78.1 kB
view details)
File details
Details for the file scheduling_utils-0.1.1.tar.gz.
File metadata
- Download URL: scheduling_utils-0.1.1.tar.gz
- Upload date:
- Size: 78.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1acd61ea13ce41e89b41531cc14b8ccee59475ad362b8851735dc4ae88fdf7ea
|
|
| MD5 |
c890235cb9bc91939779b0f306a59a21
|
|
| BLAKE2b-256 |
86da76972ac8d0a3bec13b1f60ce7227858e0364df97de035e0d241db2b9bef1
|