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
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.0.tar.gz
(56.7 kB
view hashes)
Built Distribution
Close
Hashes for scheduling_utils-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3192ee66d30f546707313b12184598770f4041426d98270ba6fcdb80f6a7f36c |
|
MD5 | a774175316ad61b6288fd85ad28c730b |
|
BLAKE2b-256 | b3c1ed800a5d4234134507a634aad3f0fbac1f871d836a0436330f42803e90cb |