Skip to main content

No project description provided

Project description

FASTEN

License Version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasten_cli-1.0.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fasten_cli-1.0.0-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2Python 3

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

Hashes for fasten_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3dc8d63798a3bf44c1922597e8d7d5bebdfab24b9e72497fd5d429c76d7b9986
MD5 2cc93f4e3911d15ba84059784e6bd7d3
BLAKE2b-256 bac705ab213ef429bce267cc26193078115ebd84450bae8723d0a94884dc5b0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasten_cli-1.0.0.tar.gz:

Publisher: publish.yml on k1jackson/FASTEN

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for fasten_cli-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cf6c2b5e7172d3d2b59fe61b6480b3fa6bc5bf4d548e186d7660cf6463679565
MD5 7cc763a6be87c7b7c385264a56bb2c86
BLAKE2b-256 72ab470520ef5004b001878c6212efd7bee8baf1e2b19761eaf9f985d9cc62fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasten_cli-1.0.0-py2.py3-none-any.whl:

Publisher: publish.yml on k1jackson/FASTEN

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page