AGENT SKILL

statistical-baselines

Run and troubleshoot Naive, GBRT, ARIMA, and SARIMA statistical baseline workflows for long-term time-series forecasting.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

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 资源文件 5

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 GBRT for a non-neural Gradient Boosting Regressor baseline.
  • Run ARIMA or SARIMA, especially with a small --sample for 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.md when present.

Start fast

  1. Confirm the requested model key is exactly one of Naive, GBRT, ARIMA, or SARIMA.

  2. Confirm the CSV has a date column and the selected feature/target columns. For features=S or features=MS, set --target to an existing target column, commonly OT.

  3. For a quick environment and data-path check, run the bundled smoke helper from this sub-skill directory or pass --repo-root explicitly:

    python scripts/smoke_stat_baselines.py --models Naive
    
  4. 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
    
  5. For ARIMA/SARIMA, start with sampled comparisons. The wrapper supplies conservative defaults when --sample is omitted, but pass --allow-slow only when deliberately running a large or full sample.

Bundled references

  • references/cli-reference.md explains run_stat.py arguments, model behavior, output files, and sampling semantics.
  • references/workflows.md gives single-run, smoke, source-sweep, and sampled comparison recipes.
  • references/troubleshooting.md maps common dependency, slowness, sampling, data-layout, and output-location failures to fixes.

Bundled scripts

  • scripts/run_stat_baselines.py wraps run_stat.py for single runs or a safe adaptation of the source statistical long-forecast sweep.
  • scripts/smoke_stat_baselines.py creates a tiny synthetic custom CSV and runs one or more baseline models through the wrapper.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351