No project description provided
Project description
FASTEN
FASTEN is a flexible and user-friendly framework for building PyTorch-based deep learning emulators for epidemic simulations with stochastic outputs. FASTEN provides three intuitive modules to (1) train deep neural networks on simulation data, (2) select optimal hyperparameters, and (3) generate predictions from unseen inputs.
Installation
FASTEN can be installed via pip:
pip install fasten-cli
Usage
There are two primary components to FASTEN: the configuration file designer and the command line tool.
Configuration File Designer
Before executing a FASTEN, the user must construct a workflow configuration file that outlines the simulation data format and training hyperparameters. The configuration file designer guides users through this process with contextual instructions and validation checks.
Command Line Tool
The FASTEN workflow decomposes the model emulation process into three phases: (1)training, (2) hyperparameter tuning, and (3) output prediction. Each phase is invoked through a dedicated command line module, with a shared configuration file governing the underlying behavior. The command line tool can used as follows:
Training:
usage: FASTEN train [-h] -c CONFIG -i INPUT [-o OUTPUT] [-m MODEL]
options:
-h, --help show this help message and exit
-c, --config CONFIG JSON file defining configuration parameters
-i, --input INPUT TSV file with simulation data
-o, --output OUTPUT Folder to output model and figures (default: outputs)
-m, --model MODEL ZIP file containing initial model (default: None)
Hyperparameter Tuning:
usage: FASTEN tune [-h] -c CONFIG -i INPUT [-o OUTPUT] [-n TRIALS] [--unique]
options:
-h, --help show this help message and exit
-c, --config CONFIG JSON file defining configuration parameters
-i, --input INPUT TSV file with simulation data
-o, --output OUTPUT Folder to output optimal configs and figures (default: outputs)
-n, --trials TRIALS Total number of optimation trials (default: 100)
--unique Prevents re-training with duplicate hyperparameter sets (default: False)
Output Prediction:
usage: FASTEN predict [-h] -m MODEL -i INPUT [-o OUTPUT] [-n RUNS]
options:
-h, --help show this help message and exit
-m, --model MODEL ZIP file containing model
-i, --input INPUT TSV file with simulation inputs
-o, --output OUTPUT TSV file to output predicted simulation data (default: outputs.tsv)
-n, --runs RUNS Number of simulation runs per input (default: 0)
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fasten_cli-1.0.0.tar.gz.
File metadata
- Download URL: fasten_cli-1.0.0.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc8d63798a3bf44c1922597e8d7d5bebdfab24b9e72497fd5d429c76d7b9986
|
|
| MD5 |
2cc93f4e3911d15ba84059784e6bd7d3
|
|
| BLAKE2b-256 |
bac705ab213ef429bce267cc26193078115ebd84450bae8723d0a94884dc5b0a
|
Provenance
The following attestation bundles were made for fasten_cli-1.0.0.tar.gz:
Publisher:
publish.yml on k1jackson/FASTEN
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fasten_cli-1.0.0.tar.gz -
Subject digest:
3dc8d63798a3bf44c1922597e8d7d5bebdfab24b9e72497fd5d429c76d7b9986 - Sigstore transparency entry: 1842867947
- Sigstore integration time:
-
Permalink:
k1jackson/FASTEN@41bb1bbcb58e69f782cdcde9f0234e4d27ff4276 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/k1jackson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41bb1bbcb58e69f782cdcde9f0234e4d27ff4276 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fasten_cli-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: fasten_cli-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf6c2b5e7172d3d2b59fe61b6480b3fa6bc5bf4d548e186d7660cf6463679565
|
|
| MD5 |
7cc763a6be87c7b7c385264a56bb2c86
|
|
| BLAKE2b-256 |
72ab470520ef5004b001878c6212efd7bee8baf1e2b19761eaf9f985d9cc62fd
|
Provenance
The following attestation bundles were made for fasten_cli-1.0.0-py2.py3-none-any.whl:
Publisher:
publish.yml on k1jackson/FASTEN
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fasten_cli-1.0.0-py2.py3-none-any.whl -
Subject digest:
cf6c2b5e7172d3d2b59fe61b6480b3fa6bc5bf4d548e186d7660cf6463679565 - Sigstore transparency entry: 1842868061
- Sigstore integration time:
-
Permalink:
k1jackson/FASTEN@41bb1bbcb58e69f782cdcde9f0234e4d27ff4276 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/k1jackson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41bb1bbcb58e69f782cdcde9f0234e4d27ff4276 -
Trigger Event:
push
-
Statement type: