Downloads · 30 days
0
ARotting/uncertainty-lens
uncertainty-lens is a machine learning model from ARotting. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Uncertainty Lens trains five compact CNNs from independent initializations and turns their disagreement into a probabilistic diagnostic.
Downloads · 30 days
0
Access
Public
Updated Jul 30, 2026
Repo size
47.1 KB
Likes
0
Public
Click a slice to open those files.
.safetensors47.1 KB · 74%
From the Hugging Face model README
Uncertainty Lens trains five compact CNNs from independent initializations and turns their disagreement into a probabilistic diagnostic.
The project measures:
The OOD sets are synthetic stress tests, not evidence of real-world deployment safety.
uv run python projects/tiny-vision-foundry/prepare_data.py
uv run python projects/uncertainty-lens/train.py
| Metric | Single member | Five-member ensemble |
|---|---|---|
| Test accuracy | 98.15% | 99.26% |
| Negative log-likelihood | 0.0551 | 0.0570 |
| Brier score | 0.02784 | 0.02498 |
| Expected calibration error | 0.02185 | 0.02547 |
Validation selected temperature 1.0, meaning temperature scaling provided no
improvement and left ensemble metrics unchanged.
For 270 uniform-noise and 270 pixel-scrambled inputs, predictive entropy achieved 0.9771 ROC-AUC against clean held-out digits. Mean entropy rose from 0.105 on clean data to 1.113 on OOD data; mean mutual information rose from 0.018 to 0.462.