MC Uncertainty
Uncertainty estimation functions for use with Monte Carlo sampled model outputs.
Installation
pip install mc-uncertainty
Usage
import mc_uncertainty as mcu
# All functions accept data with shape (mc_samples, n, classes)
data = np.array(...
# Variance
print(mcu.variance(data).shape) # [n, classes]
# Entropy
print(mcu.entropy(data).shape) # [mc_samples, n]
# Predicted entropy
print(mcu.predicted_entropy(data).shape) # [n,]
# Mutual information
print(mcu.mutual_information(data).shape) # [n,]
Metadata
Release files for mc-uncertainty 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mc-uncertainty-0.1.3.tar.gz | 1.5 kB | Without provenance | Details |
Release files / mc-uncertainty-0.1.3.tar.gz
| Download URL | mc-uncertainty-0.1.3.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20d6ddbf781a11c2c64cfe24759ee8186853d263ea1d79253578c0f09b4ed5b2
|
|
BLAKE2b-256 checksum How to use checksums |
58d99cdc0f4aa57d0368fb766a39377c7166538a8a73cba7a018aca024c51e61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5
|
Security for mc-uncertainty 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.