ltsf-linear
Routes the repo's long-term forecasting, statistical baselines, FEDformer, and Pyraformer workflows, plus shared setup and data-layout checks.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- ltsf-linear
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- 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
02 资源文件 7
- 参考文档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.0 KB
03 SKILL.md 正文
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.mdwhen checking whether this skill matches the current checkout or before refreshing it.references/data-layout.mdfor the shared CSV and dataset-directory conventions.references/model-overview.mdfor the quick model-family map.references/cli-reference.mdfor the main entry points and the most useful flags.references/workflows.mdfor common run patterns and route selection.references/troubleshooting.mdfor cross-cutting install, import, backend, and data-layout failures.scripts/check_env.pyfor a fast import and CUDA readiness check.scripts/check_data_layout.pyfor 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
-
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.
-
Install the root requirements first, then add route-specific extras only when you need them:
- root
requirements.txt pmdarimafor statistical baselinessympyandeinopsfor FEDformer Waveletsfbmfor Pyraformer synthetic generationPyraformer/requirements.txtfor Pyraformer routes
- root
-
Run a fast shared smoke before any heavier workflow:
python scripts/check_env.py --scope all --device auto -
Run a quick layout check for the dataset you expect to use:
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.pyandPyraformer/single_step_main.py. run_longExp.pyuses a fragile--use_gpuboolean parser; prefer the bundled wrapper scripts when you want explicit CPU or CUDA control.run_stat.pyimportspmdarimaat 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.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.