Skip to content
Back to skills

Transforms Features

ASecurity

"Use GluonTS transformations, time features, samplers, splitters,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill transforms-features --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Transforms Features?

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

Security grade badge for Transforms Features
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-transforms-features/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-transforms-features)

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: transforms-features
description: "Use GluonTS transformations, time features, samplers, splitters,
  and missing-value indicators for training and prediction data preparation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# transforms-features

Use this sub-skill when a task needs to prepare GluonTS `DataEntry` streams for model training or prediction with transformation chains, observed-value indicators, time features, lag selection, or instance sampling/splitting.

## Route here for

- Building `gluonts.transform.Chain` pipelines that operate on iterables of dictionaries.
- Adding missing-value observed indicators and deterministic target imputations.
- Generating calendar/time features from a frequency string and choosing model lag sequences.
- Creating training or prediction instances with `InstanceSampler` and `InstanceSplitter`.
- Diagnosing shape, length, frequency, or `is_train` mistakes in transformed datasets.

## Do not use this sub-skill for

- Constructing the original dataset from pandas/files/JSON Lines: use the data-pipelines sub-skill first.
- Choosing, training, serializing, or serving estimators/predictors: use the forecasting-models or deployment-extensions sub-skill.
- MXNet-specific transformation recipes: those legacy workflows were not selected as verified required coverage.

## Read map

1. Start with `references/api-reference.md` for API contracts, constructor signatures, field names, and shape conventions.
2. Use `references/workflows.md` for train/prediction transformation recipes and assertion checklists.
3. Use `references/troubleshooting.md` when a chain yields zero instances, wrong feature lengths, unsupported frequencies, or NaN/shape failures.
4. Run `scripts/transform_feature_smoke.py --help` and then `scripts/transform_feature_smoke.py` to check that the installed `gluonts` package can execute the core transform/time-feature path without the source checkout.

## Minimal operating pattern

- Convert raw data to a GluonTS dataset first, so entries contain `start` as a period-like value with a frequency and `target` as a numeric array.
- Build a `Chain` in feature order: target conversion/observed indicator, time/age/constant features, feature stacking if needed, then an instance splitter if the model expects windows.
- Pass `is_train=True` when creating training windows with available future target values; pass `is_train=False` for prediction-time windows and ensure known-future features have `len(target) + prediction_length` values.
- Assert field presence and shapes after transformation before handing the result to an estimator or predictor.

Files in this skill

  • SKILL.md2.6 KB
  • references/api-reference.md11.7 KB
  • references/troubleshooting.md7.7 KB
  • references/workflows.md8.5 KB
  • scripts/transform_feature_smoke.py5.8 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.