Skip to content
Back to skills

Uncertainty

ASecurity

Evaluates a CNN's ability to predict stellar atmospheric parameters and chemical abundances from low-resolution spectra, measuring both internal consistency across model runs and agreement with established spectroscopic pipeline measurements. Use when the user has predictions and gold and needs to compute Uncertainty.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill uncertainty --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uncertainty?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Uncertainty
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-uncertainty/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-uncertainty)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: uncertainty
description: Evaluates a CNN's ability to predict stellar atmospheric parameters and chemical abundances from low-resolution spectra, measuring both internal consistency across model runs and agreement with established spectroscopic pipeline measurements. Use when the user has predictions and gold and needs to compute Uncertainty.
metadata:
  skill_kind: metric
  source_arxiv: 2208.08872
  bibtex_key: [REDACTED]
  confidence: high
---

# uncertainty

> The Gaia-ESO Survey: Chemical evolution of Mg and Al in the Milky Way with Machine-Learning — Ambrosch et al. (2022) (arXiv:2208.08872, 2022)

## What this evaluates

Evaluates a CNN's ability to predict stellar atmospheric parameters and chemical abundances from low-resolution spectra, measuring both internal consistency across model runs and agreement with established spectroscopic pipeline measurements.

## Datasets

- **Gaia-ESO Survey (GES)** — total 30000; splits: train (-1), test (-1), observed (-1)

## Metrics

- `Uncertainty` **(primary)** — range: K or dex
  - Standard deviation of predictions across eight independently trained CNN models with different random weight initializations.
- `Bias & Scatter` — range: K or dex
  - Mean difference and standard deviation around the 1:1 relation between CNN predictions and Gaia-ESO pipeline measurements.

## Input / output format

**Input**: GIRAFFE low-resolution stellar spectra (flux as a function of wavelength).

**Output**: Five continuous values: T_eff (K), log g (dex), [Mg/Fe] (dex), [Al/Fe] (dex), [Fe/H] (dex).

## Scoring recipe

```python
# preds: list of 8 model predictions per star
# gold: GES pipeline measurements
internal_uncertainty = np.std(preds, axis=0)
bias = np.mean(preds[0] - gold)
scatter = np.std(preds[0] - gold)
```

## Common pitfalls

- Internal uncertainty measures model initialization variance, not data noise or true prediction error.
- Performance degrades significantly for low S/N spectra (<30) and extreme abundance values due to limited training data.
- Strong label correlations in training data can cause the network to learn spurious correlations instead of physical spectral features.

## Evidence (verbatim from paper)

> We define the uncertainties of our results as the dispersion between the label predictions from the eight CNN models. In Fig. 8 we display the distribution of the label uncertainties σ(Label) relative to the predicted label values of our five labels. ... The mean uncertainties of the label predictions are small: 24K for T_eff, 0.03 for log(g), 0.02 dex for [Mg/Fe], 0.03 dex for [Al/Fe], and 0.02 dex for [Fe/H].

## Citation

```bibtex
@misc{ambrosch2022gaia,
  title={The Gaia-ESO Survey: Chemical evolution of Mg and Al in the Milky Way with Machine-Learning},
  author={Ambrosch et al. (2022)},
  year={2022},
  note={arXiv:2208.08872}
}
```

- arXiv: 2208.08872

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.