statistical-baselines
Run and troubleshoot Naive, GBRT, ARIMA, and SARIMA statistical baseline workflows for long-term time-series forecasting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- statistical-baselines
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Run and troubleshoot Naive, GBRT, ARIMA, and SARIMA statistical baseline workflows for long-term time-series forecasting.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/cli-reference.md6.1 KB
- 参考文档references/troubleshooting.md4.5 KB
- 参考文档references/workflows.md4.9 KB
03 SKILL.md 正文
Statistical Baselines
Use this sub-skill when the task is to run, compare, smoke-test, or troubleshoot the repository's statistical long-forecasting baselines: Naive, GBRT, ARIMA, or SARIMA through run_stat.py and models/Stat_models.py.
Route here
- Run a repeat-last-value baseline (
Naive, also described as Repeat-C / closest repeat in the source sweep notes). - Run
GBRTfor a non-neural Gradient Boosting Regressor baseline. - Run
ARIMAorSARIMA, especially with a small--samplefor expensive sampled comparisons. - Adapt the long-forecast statistical sweep family from
scripts/EXP-LongForecasting/Stat_Long.sh. - Debug baseline-specific issues such as missing
pmdarima, ARIMA/SARIMA slowness, per-batch sampling, or CSV feature/target mismatches.
Reroute
- Neural root models (
Linear,DLinear,NLinear,Informer,Transformer,Autoformer) and weight visualization: use../long-forecasting/SKILL.md. - FEDformer Fourier/Wavelets workflows: use
../fedformer/SKILL.md. - Pyraformer long-range, single-step, preprocessing, or TVM-related workflows: use
../pyraformer/SKILL.md. - Common dataset layout questions that are not baseline-specific: use
../../references/data-layout.mdwhen present.
Start fast
-
Confirm the requested model key is exactly one of
Naive,GBRT,ARIMA, orSARIMA. -
Confirm the CSV has a
datecolumn and the selected feature/target columns. Forfeatures=Sorfeatures=MS, set--targetto an existing target column, commonlyOT. -
For a quick environment and data-path check, run the bundled smoke helper from this sub-skill directory or pass
--repo-rootexplicitly:python scripts/smoke_stat_baselines.py --models Naive -
For a single baseline run, prefer the bundled wrapper so paths, logging, sampling, and slow-model guards are explicit:
python scripts/run_stat_baselines.py \ --model Naive \ --data custom \ --data-root dataset \ --data-path exchange_rate.csv \ --features M \ --seq-len 96 \ --label-len 48 \ --pred-len 96 \ --batch-size 100 -
For ARIMA/SARIMA, start with sampled comparisons. The wrapper supplies conservative defaults when
--sampleis omitted, but pass--allow-slowonly when deliberately running a large or full sample.
Bundled references
references/cli-reference.mdexplainsrun_stat.pyarguments, model behavior, output files, and sampling semantics.references/workflows.mdgives single-run, smoke, source-sweep, and sampled comparison recipes.references/troubleshooting.mdmaps common dependency, slowness, sampling, data-layout, and output-location failures to fixes.
Bundled scripts
scripts/run_stat_baselines.pywrapsrun_stat.pyfor single runs or a safe adaptation of the source statistical long-forecast sweep.scripts/smoke_stat_baselines.pycreates a tiny synthetic custom CSV and runs one or more baseline models through the wrapper.
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.