计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
forecasting【效率与协作】Fit, search, diagnose, and forecast fixed-order or automatic seasonal ARIMA models with pmdarima.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task is to fit a pmdarima ARIMA/AutoARIMA, choose orders with auto_arima, handle seasonal periods or exogenous regressors, and produce forecasts or intervals. Keep the series and forecast horizon explicit; validate X shape before fitting and again before forecasting.
m is supported by the available history.ARIMA when the order is known. Otherwise use stepwise auto_arima with a bounded search, error_action='trace' while debugging, and a reproducible small StepwiseContext when runtime needs a cap.y and, if used, an X matrix whose row count equals len(y). For a future forecast, provide exactly one row per period and the same number of columns as training X.predict(n_periods=h, return_conf_int=True, alpha=...) for an out-of-sample forecast and interval matrix, or predict_in_sample(...) for fitted values/residual inspection. Examine model.order, model.seasonal_order, model.resid(), and model.summary() after fitting.update(y_new, X=...) as the observation-refresh handoff to the persistence-update sub-skill; do not use this skill for artifact serialization or update mechanics.Read the linked references for signatures, bounded workflows, diagnostics, and recovery. Run scripts/simple_forecast.py --help before adapting the bundled smoke case; it is deterministic, local, and plotting-free.
This skill covers pmdarima.ARIMA, pmdarima.auto_arima, pmdarima.arima.AutoARIMA, StepwiseContext, seasonal order/seasonal_order/m, exogenous regressors, fitting, prediction, intervals, and residual diagnostics. Preprocessing/transformer internals, cross-validation/model-selection orchestration, and serialization/update artifact mechanics belong to sibling skills.
The inspected source was tagged v2.1.1 at commit 4c2dfccb28f64d2c00a5e10b59c1d1a3e16576a9, while the inspection environment reports package version 0.0.0. Do not infer a release/version guarantee from this skill; route environment/version discrepancies to root troubleshooting.