计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
forecasting-models【效率与协作】Choose and use GluonTS predictors, estimators, forecasts, local baselines, PyTorch estimators, and predictor persistence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to select or operate GluonTS forecasting models after data has already been shaped as a GluonTS dataset.
Estimator.train(...) -> Predictor and Predictor.predict(...) -> Forecast.SampleForecast and QuantileForecast outputs: samples, mean, median, quantiles, indexes, and multivariate dimensions.trainer_kwargs on CPU or optional CUDA.Predictor.serialize(...) and Predictor.deserialize(...).references/model-overview.md — model-selection guidance, local/global split, PyTorch catalog, and legacy backend caveats.references/api-reference.md — distilled signatures and key behaviors for predictors, forecasts, local predictors, and PyTorch estimators.references/workflows.md — copyable operating recipes for train/predict, baselines, forecast extraction, persistence, PyTorch trainer kwargs, and warm-starting.references/troubleshooting.md — failures around optional extras, short histories, features, quantiles, serialization, PyTorch Lightning, CUDA, and legacy MXNet.Run these from any working directory after gluonts is installed:
python path/to/scripts/predictor_persistence_smoke.py --help
python path/to/scripts/predictor_persistence_smoke.py
python path/to/scripts/torch_forecast_smoke.py --help
python path/to/scripts/torch_forecast_smoke.py
python path/to/scripts/torch_forecast_smoke.py --train
predictor_persistence_smoke.py checks a checkout-independent local predictor serialize/reload workflow. torch_forecast_smoke.py constructs a tiny PandasDataset and a bounded PyTorch estimator; by default it does not train, and --train runs a one-epoch tiny smoke when the torch/Lightning extra is available.
PandasDataset, splitting train/test windows, JSON Lines, or entry schema, use the data-pipelines sub-skill first.transforms-features first.Evaluator, backtest_metrics, or make_evaluation_predictions, use evaluation-backtesting after producing forecasts.deployment-extensions.Use CPU-bounded examples unless the user explicitly asks for GPU. Treat CUDA as optional acceleration. Treat MXNet models as legacy/unverified in this skill scope; do not promise that MXNet workflows work unless the user provides and verifies a compatible MXNet environment.