Skip to content
Back to skills

Forecasting Models

ASecurity

"Choose and use GluonTS predictors, estimators, forecasts, local

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythonshellbashtestingapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill forecasting-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forecasting Models?

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

Security grade badge for Forecasting Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-forecasting-models/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-forecasting-models)

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: forecasting-models
description: "Choose and use GluonTS predictors, estimators, forecasts, local
  baselines, PyTorch estimators, and predictor persistence."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# forecasting-models

Use this sub-skill when the task is to select or operate GluonTS forecasting models after data has already been shaped as a GluonTS dataset.

## What this sub-skill covers

- Choosing between local predictors and trainable global estimators.
- Using `Estimator.train(...) -> Predictor` and `Predictor.predict(...) -> Forecast`.
- Reading `SampleForecast` and `QuantileForecast` outputs: samples, mean, median, quantiles, indexes, and multivariate dimensions.
- Running deterministic local baselines such as seasonal naive, identity, constant, moving-average, mean, and NPTS predictors.
- Constructing and optionally training selected PyTorch estimators with bounded `trainer_kwargs` on CPU or optional CUDA.
- Serializing and deserializing predictors with `Predictor.serialize(...)` and `Predictor.deserialize(...)`.

## Use the bundled references

- `references/model-overview.md` — model-selection guidance, local/global split, PyTorch catalog, and legacy backend caveats.
- `references/api-reference.md` — distilled signatures and key behaviors for predictors, forecasts, local predictors, and PyTorch estimators.
- `references/workflows.md` — copyable operating recipes for train/predict, baselines, forecast extraction, persistence, PyTorch trainer kwargs, and warm-starting.
- `references/troubleshooting.md` — failures around optional extras, short histories, features, quantiles, serialization, PyTorch Lightning, CUDA, and legacy MXNet.

## Bundled smoke scripts

Run these from any working directory after `gluonts` is installed:

```bash
python path/to/scripts/predictor_persistence_smoke.py --help
python path/to/scripts/predictor_persistence_smoke.py

python path/to/scripts/torch_forecast_smoke.py --help
python path/to/scripts/torch_forecast_smoke.py
python path/to/scripts/torch_forecast_smoke.py --train
```

`predictor_persistence_smoke.py` checks a checkout-independent local predictor serialize/reload workflow. `torch_forecast_smoke.py` constructs a tiny `PandasDataset` and a bounded PyTorch estimator; by default it does not train, and `--train` runs a one-epoch tiny smoke when the `torch`/Lightning extra is available.

## Routing hints

- If the task is about building `PandasDataset`, splitting train/test windows, JSON Lines, or entry schema, use the `data-pipelines` sub-skill first.
- If the task is about transformation chains, lags, time features, samplers, or instance splitters, use `transforms-features` first.
- If the task is about accuracy metrics, `Evaluator`, `backtest_metrics`, or `make_evaluation_predictions`, use `evaluation-backtesting` after producing forecasts.
- If the task is about SageMaker shell, CLI, or optional extension adapters, use `deployment-extensions`.

## Required safety posture

Use CPU-bounded examples unless the user explicitly asks for GPU. Treat CUDA as optional acceleration. Treat MXNet models as legacy/unverified in this skill scope; do not promise that MXNet workflows work unless the user provides and verifies a compatible MXNet environment.

Files in this skill

  • SKILL.md3.2 KB
  • references/api-reference.md9.9 KB
  • references/model-overview.md8.8 KB
  • references/troubleshooting.md7.1 KB
  • references/workflows.md8.5 KB
  • scripts/predictor_persistence_smoke.py3.8 KB
  • scripts/torch_forecast_smoke.py8.4 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.