Skip to content
Back to skills

Ltsf Linear

ASecurity

"Routes the repo's long-term forecasting, statistical baselines,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
datapythonbashbackend

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill ltsf-linear --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ltsf Linear?

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

Security grade badge for Ltsf Linear
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ltsf-linear/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ltsf-linear)

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: ltsf-linear
description: "Routes the repo's long-term forecasting, statistical baselines,
  FEDformer, and Pyraformer workflows, plus shared setup and data-layout
  checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# LTSF-Linear

This is the root router for the LTSF-Linear repository. Use it when the task is
about the repo as a whole, when you need shared setup or data checks, or when
you need to choose between the repo's four major workflow families.

## Read first

- `references/repo-provenance.md` when checking whether this skill matches the
  current checkout or before refreshing it.
- `references/data-layout.md` for the shared CSV and dataset-directory
  conventions.
- `references/model-overview.md` for the quick model-family map.
- `references/cli-reference.md` for the main entry points and the most useful
  flags.
- `references/workflows.md` for common run patterns and route selection.
- `references/troubleshooting.md` for cross-cutting install, import, backend,
  and data-layout failures.
- `scripts/check_env.py` for a fast import and CUDA readiness check.
- `scripts/check_data_layout.py` for a small dataset-layout sanity check.

## Route map

- `sub-skills/long-forecasting/SKILL.md` — Linear, DLinear, NLinear,
  Informer, Transformer, Autoformer, benchmark sweeps, and weight plotting.
- `sub-skills/statistical-baselines/SKILL.md` — Naive, GBRT, ARIMA, and
  SARIMA baselines.
- `sub-skills/fedformer/SKILL.md` — the FEDformer subrepo and its Fourier /
  Wavelets variants.
- `sub-skills/pyraformer/SKILL.md` — Pyraformer long-range forecasting,
  single-step forecasting, preprocessing, and synthetic data generation.

## Install and preflight

1. Create a Python environment with the repo's runtime stack. The verified
   inspection environment used a CUDA-capable PyTorch 1.9.0+cu111 build on
   x86_64 Linux.
2. Install the root requirements first, then add route-specific extras only
   when you need them:
   - root `requirements.txt`
   - `pmdarima` for statistical baselines
   - `sympy` and `einops` for FEDformer Wavelets
   - `fbm` for Pyraformer synthetic generation
   - `Pyraformer/requirements.txt` for Pyraformer routes
3. Run a fast shared smoke before any heavier workflow:

   ```bash
   python scripts/check_env.py --scope all --device auto
   ```

4. Run a quick layout check for the dataset you expect to use:

   ```bash
   python scripts/check_data_layout.py --kind root --data-root dataset --data-path exchange_rate.csv
   ```

## Root workflow hints

- The main benchmark launcher is `run_longExp.py`.
- The statistical baseline launcher is `run_stat.py`.
- The FEDformer launcher lives in `FEDformer/run.py`.
- The Pyraformer launchers live in `Pyraformer/long_range_main.py` and
  `Pyraformer/single_step_main.py`.
- `run_longExp.py` uses a fragile `--use_gpu` boolean parser; prefer the
  bundled wrapper scripts when you want explicit CPU or CUDA control.
- `run_stat.py` imports `pmdarima` at module import time, so missing that
  dependency fails even `--help`.
- FEDformer's parser default model is not a valid FEDformer family name, so
  always pass an explicit `--model`.
- Pyraformer's optional TVM path is separate from the minimum smoke surface.

## When to stay at the root

Use the root skill and the shared scripts when you only need:

- a quick environment or import check,
- dataset/path validation,
- a model-family decision,
- or a high-level routing answer before choosing a sub-skill.

Move to a sub-skill once the user has picked a concrete workflow family.

Files in this skill

  • SKILL.md3.5 KB
  • references/cli-reference.md3.8 KB
  • references/data-layout.md2.1 KB
  • references/model-overview.md2.4 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json323 B
  • references/troubleshooting.md3.5 KB
  • references/workflows.md3 KB
  • scripts/check_data_layout.py5.1 KB
  • scripts/check_env.py5.7 KB
  • sub-skills/fedformer/SKILL.md3.9 KB
  • sub-skills/fedformer/references/cli-reference.md6.3 KB
  • sub-skills/fedformer/references/data-layout.md2.3 KB
  • sub-skills/fedformer/references/model-overview.md4.2 KB
  • sub-skills/fedformer/references/troubleshooting.md4.9 KB
  • sub-skills/fedformer/references/workflows.md5.1 KB
  • sub-skills/fedformer/scripts/run_fedformer.py2.5 KB
  • sub-skills/fedformer/scripts/smoke_fedformer.py3.8 KB
  • sub-skills/long-forecasting/SKILL.md2.7 KB
  • sub-skills/long-forecasting/references/cli-reference.md4.7 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.