Skip to content
Back to skills

Data Processing And Covariates

ASecurity

"Use Darts preprocessing transformers, Pipeline, missing-value

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythonbashapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-processing-and-covariates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Processing And Covariates?

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

Security grade badge for Data Processing And Covariates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-processing-and-covariates/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-processing-and-covariates)

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: data-processing-and-covariates
description: "Use Darts preprocessing transformers, Pipeline, missing-value
  filling, scaling, inverse transforms, and covariate span checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Data processing and covariates

Use this sub-skill when the user needs to clean/transform Darts `TimeSeries`, fit preprocessing only on training data, inverse-transform forecasts, or build/validate past and future covariates.

## Read first

- [`references/workflows.md`](references/workflows.md) for train-only preprocessing, generated covariates, stacking, and span validation patterns.
- [`references/api-reference.md`](references/api-reference.md) for verified constructor signatures and common transformer/covariate APIs.
- [`references/troubleshooting.md`](references/troubleshooting.md) for leakage, inverse-transform, missing-value, covariate frequency, and horizon coverage errors.
- [`scripts/transform_pipeline_smoke.py`](scripts/transform_pipeline_smoke.py) for a tiny generated pipeline/covariate smoke.

## Route by task

- **Fill missing target values**: use `MissingValuesFiller`, usually inside a `Pipeline`.
- **Scale data**: fit `Scaler` or a `Pipeline` on train only, then transform validation/test; never fit on held-out data.
- **Invert forecast scale**: keep the fitted transformer and call `inverse_transform()` on the forecast with matching components.
- **Generate calendar covariates**: use Darts time-series generation helpers such as datetime/day-of-week attributes or caller-provided covariate tables, then stack components.
- **Fix covariate span errors**: validate target end time, forecast horizon, covariate start/end, frequency, and one covariate series per target series.
- **Choose a model that consumes covariates**: route to `../forecasting-workflows/` for core/regression models or `../torch-and-foundation-models/` for neural models.

## Safe check

```bash
python scripts/transform_pipeline_smoke.py --quiet
```

The script generates a small daily series, fills/scales train data, transforms validation data, inverse-transforms a toy forecast, stacks two future covariates, and asserts horizon coverage.

## Boundaries

This sub-skill prepares data and covariates. It does not decide all model-family details or interpret final metrics. Do not solve future covariate span errors by extending the target series with fake values; extend/regenerate the covariate series instead.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md3.2 KB
  • references/troubleshooting.md2.4 KB
  • references/workflows.md3.4 KB
  • scripts/transform_pipeline_smoke.py2.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.