AGENT SKILL

pmdarima

Guide Python time-series forecasting with pmdarima, including ARIMA and AutoARIMA modeling, preprocessing, temporal validation, diagnostics, datasets, and trusted model refresh workflows.

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

01 前言 Front Matter

name
pmdarima
license
MIT
metadata
{ "disco-role": "operating" }
description
Guide Python time-series forecasting with pmdarima, including ARIMA and AutoARIMA modeling, preprocessing, temporal validation, diagnostics, datasets, and trusted model refresh workflows.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

pmdarima operating skill

Use this skill when a task names pmdarima, auto_arima, ARIMA, seasonal forecasting, differencing, Fourier features, rolling forecast validation, or a pmdarima model artifact. It is a CPU-oriented scientific-Python package skill; there is no CUDA, ROCm, MPS, or vendor backend route to enable.

Start here

  1. Confirm the target series, observation frequency, forecast horizon, missing- value policy, and whether future exogenous regressors are available.
  2. Read API overview for the public surface and route the request to the smallest focused sub-skill below.
  3. Use the focused route's API reference and workflow recipe before writing code. Keep order bounds, seasonal period, data shapes, and scoring choices explicit so results are reproducible.
  4. Run the environment checker when import, compiled-extension, dependency, or version questions are part of the task.
  5. Read troubleshooting when installation, dynamic version metadata, optional plotting, convergence, data validation, or artifact compatibility is unclear.

Focused routes

  • forecasting — fixed ARIMA, bounded auto_arima/AutoARIMA, seasonal (P,D,Q,m) models, exogenous X, fitted values, residuals, intervals, and primary forecasts.
  • preprocessing — Box-Cox/log target transforms, Fourier and date features, future feature contracts, and ordered Pipeline stages.
  • model-selection — temporal train/test splits, rolling/sliding forecast CV, scoring, smape, and leakage- safe comparison with aligned X.
  • datasets-diagnostics — built- in datasets, ndiffs/nsdiffs/diff, decomposition, ACF/PACF, and headless numeric diagnostics.
  • persistence-update — trusted pickle round trips, pipeline artifacts, ARIMA.update, version warnings, provenance, and refit-versus-refresh decisions.

Cross-route decisions

  • Establish frequency and a defensible seasonal cycle before calling auto_arima; m is observations per cycle, not the forecast horizon.
  • Fit transforms and feature generators only on training data. Use a complete Pipeline for transform, estimator, prediction, and inverse-transform order.
  • Use chronological splits rather than shuffled validation. Keep future X rows aligned with every forecast horizon and every fold.
  • Treat auto_arima as a bounded search. Record seasonal, m, order limits, stepwise, maxiter, error_action, and warnings in experiment notes.
  • Never deserialize an untrusted pickle. A pmdarima version warning is a compatibility signal, not a migration or security guarantee.

Installation and smoke check

Install the public distribution with python -m pip install pmdarima. For a checkout or source build, Python 3.10+ and a working C/Cython build path may be needed; prefer a compatible wheel. Verify with:

python -c "import pmdarima as pm; print(pm.__version__)"
python /path/to/this/skill/scripts/check_environment.py

The bundled checker performs no network access, model download, plotting, or artifact loading. It confirms imports, dependency versions, a tiny ARIMA fit, a dataset loader, a temporal split, and a metric. Read repository provenance before refreshing this skill against a different checkout or release.

Scope boundary

This skill teaches use of the public package, not repository maintenance, benchmark reproduction, release automation, CI configuration, or source-code editing. Native examples and tests were distilled into the bundled references and safe helpers; runtime instructions do not require the original checkout.

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