Long-term forecasts for pathogen populations
Project description
popcast: Long-term forecasts for pathogen populations
Install
Install Flit.
python3 -m pip install flit
Install popcast with the current environment's Python 3.
flit install --python `which python3`
Usage
Download seasonal influenza A/H3N2 data for model fitting.
curl "https://github.com/blab/flu-forecasting/raw/master/results/builds/natural/natural_sample_1_with_90_vpm_sliding/tip_attributes_with_weighted_distances.tsv" > tip_attributes_with_weighted_distances.tsv
Fit a model using default 6 year training windows and 12-month forecasts.
popcast fit \
--tip-attributes tip_attributes_with_weighted_distances.tsv \
--output lbi_model.json \
--predictors lbi
Publish
Install or upgrade publishing tools.
python3 -m pip install --upgrade build twine
Build the distribution packages.
python3 -m build
Upload the distribution packages.
python3 -m twine upload dist/*
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
popcast-1.0.0.tar.gz
(20.6 kB
view hashes)
Built Distribution
popcast-1.0.0-py3-none-any.whl
(23.4 kB
view hashes)