Skip to content
Back to skills

Probabilistic Losses

ASecurity

"Routes NeuralForecast quantile, distribution, robust-loss, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
code-qualitydebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill probabilistic-losses --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Probabilistic Losses?

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

Security grade badge for Probabilistic Losses
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-probabilistic-losses/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-probabilistic-losses)

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: "probabilistic-losses"
description: "Routes NeuralForecast quantile, distribution, robust-loss, and
  prediction-interval workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# probabilistic-losses

Use this sub-skill when the user is choosing a point, quantile, distribution,
or robust loss, debugging quantile/level conversions, or matching a training
loss to prediction intervals or simulation outputs.

## What this route covers

- Point losses such as `MAE`, `MSE`, `RMSE`, `MAPE`, `SMAPE`, `MASE`, and
  `relMSE`.
- Quantile and probabilistic losses such as `MQLoss`, `IQLoss`,
  `DistributionLoss`, `PMM`, `GMM`, `NBMM`, and `sCRPS`.
- Robust losses such as `HuberLoss`, `TukeyLoss`, `HuberQLoss`,
  `HuberMQLoss`, `HuberIQLoss`, and `FreDF`.
- Level/quantile translation and prediction-interval alignment.

## What this route does not cover

- The panel dataframe contract.
- Choosing the model family.
- Auto*/distributed execution.
- Core fit/predict orchestration beyond what is needed to explain the loss.

If the user only needs to run a model after picking the loss, route to
`../core-forecasting/SKILL.md`. If the data layout is causing the failure, route
to `../data-and-exogenous/SKILL.md`.

## Read these bundled references

- `../../references/losses-reference.md` for the full loss-family overview.
- `../../references/api-reference.md` for the verified loss signatures.
- `references/troubleshooting.md` for quantile, compatibility, and mask errors.

## Run this bundled script

- `../../scripts/check_losses.py` for a small deterministic loss check.

## Common triggers

- "Which loss should I use for quantiles?"
- "How do I get prediction intervals?"
- "Why do duplicate quantiles warn?"
- "Why does valid_loss have to match the training loss?"
- "What does horizon_weight do?"

## Minimal route

1. Read `../../references/losses-reference.md`.
2. Use `../../scripts/check_losses.py` if you want a quick smoke of the loss
   surface.
3. Read `references/troubleshooting.md` when the loss configuration fails.

## Decision cues

- If the user already knows the loss and needs a model, route to
  `model-selection`.
- If the user needs the panel schema or future dataframe shape, route to
  `data-and-exogenous`.
- If the user needs the actual training run, route to `core-forecasting`.

## Safe default

When in doubt, start with `MAE` for a point forecast or `MQLoss(level=[80, 90])`
when the user explicitly wants quantiles.

Files in this skill

  • SKILL.md2.5 KB
  • references/troubleshooting.md1.5 KB

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.