计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
time-series-forecasting【效率与协作】Use Lazy Predict LazyForecaster for time-series model benchmarking, exogenous forecasting, seasonal detection, forecasting metrics, horizon strategies, ensembles, diagnostics, plotting, and optional forecasting dependencies.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task asks for Lazy Predict forecasting with
LazyForecaster, including baseline and sklearn lag-feature forecasters,
statistical or deep optional forecasters, exogenous variables, time-series
metrics, horizon strategies, ensembles, diagnostics, or plotting.
Confirm the user has ordered numeric observations split into y_train and
y_test. Lazy Predict forecasts a future horizon of len(y_test).
Start with a bounded CPU-safe model list such as ['Naive', 'Ridge_TS'].
Add optional statistical, boosting, deep-learning, or foundation models only when dependencies and runtime budget are available.
Run the bundled smoke helper when the environment or basic contract is in doubt:
python scripts/smoke_forecasting.py --predictions --exogenous
Read references/api-reference.md for the verified
LazyForecaster signature, model categories, helper functions, and result
columns.
Typical bounded workflow:
from lazypredict.TimeSeriesForecasting import LazyForecaster
fcst = LazyForecaster(
forecasters=['Naive', 'Ridge_TS'],
predictions=True,
n_lags=5,
verbose=0,
ignore_warnings=True,
)
scores, predictions = fcst.fit(y_train, y_test)
For exogenous features, pass matrices aligned with the train and forecast periods:
scores, predictions = fcst.fit(y_train, y_test, X_train, X_test)
Read references/workflows.md for quick starts, exogenous variables, model subsets, cross-validation, custom metrics, horizon strategies, ensembles, diagnostics, visualization, save/load, and forecasting from loaded models.
Read references/troubleshooting.md for too-short series, lag/window errors, exogenous shape mismatches, missing optional forecasting dependencies, invalid sort/tuning metrics, TimesFM local weight issues, GPU fallback, and plotting failures.
LazyClassifier or LazyRegressor tabular supervised tasks.LazyForecaster workflow.