技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ltsf-linear【数据与研究】Routes the repo's long-term forecasting, statistical baselines, FEDformer, and Pyraformer workflows, plus shared setup and data-layout checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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.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.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:
requirements.txtpmdarima for statistical baselinessympy and einops for FEDformer Waveletsfbm for Pyraformer synthetic generationPyraformer/requirements.txt for Pyraformer routesRun 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
run_longExp.py.run_stat.py.FEDformer/run.py.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.--model.Use the root skill and the shared scripts when you only need:
Move to a sub-skill once the user has picked a concrete workflow family.