No project description provided
Project description
MILES-Guess
Generalized Uncertainty for Earth System Science (GUESS)
Developed by the Machine Ingetration and Learning for Earth Systems (MILES) group at the NSF National Center for Atmospheric Research (NCAR), Boulder CO, USA
Contributors
- John Schreck
- David John Gagne
- Charlie Becker
- Gabrielle Gantos
- Dhamma Kimpara
- Thomas Martin
Documentation
Full documentation is here.
Quick Setup
Install in your Python environment with the following command:
pip install miles-guess
If you want to install a particular backend (tensorflow, tensorflow_gpu, torch, jax):
pip install miles-guess[<backend>]
Setup from Scratch
Install the Miniconda Python installer available here.
First clone the miles-guess repo from github.
git clone https://github.com/ai2es/miles-guess.git`
cd miles-guess
Create a conda environment for non-Casper/Derecho users:
mamba env create -f environment.yml`
conda activate guess`
Create a conda environment for Casper/Derecho users including Tensorflow 2.15 with GPU support.
mamba env create -f environment_gpu.yml`
conda activate guess
Using miles-guess
The law of total variance for each model prediction target may be computed as
$$LoTV = E[\sigma^2] + Var[\mu]$$
which is the sum of aleatoric and epistemic contributions, respectively. The MILES-GUESS package contains options for using either Keras or PyTorch for computing quantites according to the LoTV as well as utilizing Dempster-Shafer theory uncertainty in the classifier case.
For detailed information about training with Keras, refer to the Keras training details README. There three scripts for training three regression models, and one for training categorical models. The regression examples are trained on our surface layer ("SL") dataset for predicting latent heat and other quantities, and the categorical example is trained on a precipitation dataset ("p-type").
For pyTorch, please visit the the pyTorch training details README where details on training scripts for both evidential standard classification tasks are detailed. Torch examples use the same datasets as the Keras models. The torch training code will also scale on GPUs, and is compatitible with DDP and FSDP.
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 miles_guess-2025.1.0.tar.gz.
File metadata
- Download URL: miles_guess-2025.1.0.tar.gz
- Upload date:
- Size: 19.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0870f445842103571c64f384e7d216d0e947c6b66dd8888e9cd8eedd508c0e64
|
|
| MD5 |
6d8c018447716431828771a8fa1a6b5a
|
|
| BLAKE2b-256 |
fac4ab2106ed15e7183c8cc0bc5e6ed0689841378e90d633dfc02d1058ded26d
|
Provenance
The following attestation bundles were made for miles_guess-2025.1.0.tar.gz:
Publisher:
python-publish.yml on ai2es/miles-guess
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
miles_guess-2025.1.0.tar.gz -
Subject digest:
0870f445842103571c64f384e7d216d0e947c6b66dd8888e9cd8eedd508c0e64 - Sigstore transparency entry: 268273140
- Sigstore integration time:
-
Permalink:
ai2es/miles-guess@69775bef5d65b50e53692d860092e0295b4e7d23 -
Branch / Tag:
refs/tags/v2025.1.1 - Owner: https://github.com/ai2es
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@69775bef5d65b50e53692d860092e0295b4e7d23 -
Trigger Event:
release
-
Statement type:
File details
Details for the file miles_guess-2025.1.0-py3-none-any.whl.
File metadata
- Download URL: miles_guess-2025.1.0-py3-none-any.whl
- Upload date:
- Size: 96.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
820ef697cfb840ec7a7aa386ce86ba8e9330f821f63e9486a7964f4df7ff3cda
|
|
| MD5 |
e767f7aa9832e953bbe4c4007da17aa7
|
|
| BLAKE2b-256 |
99d8ce4c421320b20f4c67e68c3c01c8e170b6cbdd79cfea8cab9ca3e4635339
|
Provenance
The following attestation bundles were made for miles_guess-2025.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on ai2es/miles-guess
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
miles_guess-2025.1.0-py3-none-any.whl -
Subject digest:
820ef697cfb840ec7a7aa386ce86ba8e9330f821f63e9486a7964f4df7ff3cda - Sigstore transparency entry: 268273150
- Sigstore integration time:
-
Permalink:
ai2es/miles-guess@69775bef5d65b50e53692d860092e0295b4e7d23 -
Branch / Tag:
refs/tags/v2025.1.1 - Owner: https://github.com/ai2es
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@69775bef5d65b50e53692d860092e0295b4e7d23 -
Trigger Event:
release
-
Statement type: