协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
evaluation-backtesting【开发与工程】Evaluate GluonTS forecasts, compute aggregate/item metrics, use ev metrics, and backtest predictors without alignment mistakes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to evaluate installed GluonTS predictors or already-produced forecasts, inspect aggregate and per-item metrics, or run a safe backtest on a held-out forecast horizon.
make_evaluation_predictions(...) so each predictor sees only history before the trailing prediction window.gluonts.evaluation.Evaluator.backtest_metrics(...) wrapper for an existing Predictor.gluonts.ev metric definitions through gluonts.model.evaluate_forecasts(...) or evaluate_model(...).references/api-reference.md — signatures, arguments, metric keys, aggregation behavior, and gluonts.ev metric roles.references/workflows.md — copyable recipes for trailing holdout evaluation, backtest wrappers, item metrics, custom metrics, and gluonts.ev evaluation.references/troubleshooting.md — common failures around alignment, iterator lengths, NaNs, quantiles, seasonality, multiprocessing, and invalid targets.After installing gluonts, run the checkout-independent helper:
python path/to/sub-skills/evaluation-backtesting/scripts/evaluate_synthetic_forecast.py --help
python path/to/sub-skills/evaluation-backtesting/scripts/evaluate_synthetic_forecast.py
The script creates tiny deterministic series, evaluates a local seasonal-naive predictor with make_evaluation_predictions and Evaluator, cross-checks backtest_metrics, optionally writes item metrics as CSV, and prints a concise success summary. It performs no network, plotting, downloads, training, or checkout-relative reads.
data-pipelines first.transforms-features first.forecasting-models before evaluation.deployment-extensions.Keep evaluation examples CPU-only, deterministic, and small unless the user explicitly asks for benchmark-scale work. Treat CUDA as optional acceleration only. Treat MXNet examples as legacy/unverified in this skill scope; do not claim MXNet evaluation workflows are verified unless a separate compatible MXNet environment has been installed and checked.