界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

training-and-evaluation

training-and-evaluation

【开发与工程】Train, validate, test, smoke-check, and interpret Informer2020 forecasting runs.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: training-and-evaluation description: "Train, validate, test, smoke-check, and interpret Informer2020 forecasting runs." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Training and evaluation

Use this sub-skill for the forecasting run loop: choose the model and attention, set sequence lengths and feature mode, launch train/validate/test cycles, read checkpoints and results, and compare benchmark presets.

What it covers

  • Model family: informer vs informerstack.
  • Attention: prob vs full.
  • Feature modes: M, S, MS.
  • Lengths: seq_len, label_len, pred_len.
  • Training controls: itr, train_epochs, batch_size, patience, learning_rate, lradj, AMP, and multi-GPU.
  • Outputs: checkpoints, prediction arrays, metrics, and future-prediction artifacts.
  • Benchmark presets distilled from the shipped ETTh1 / ETTh2 / ETTm1 / WTH run families.

Route out

Fast facts

  • The source CLI always trains first, then tests once per itr; do_predict appends future prediction after test.
  • Built-in dataset presets for ETTh1 / ETTh2 / ETTm1 / ETTm2 / WTH / ECL / Solar override data_path, target, enc_in, dec_in, and c_out.
  • informerstack uses s_layers; informer uses e_layers.
  • --distil and --mix are disable flags: adding them turns those features off.
  • checkpoints/<setting>/checkpoint.pth holds the best model; results/<setting>/ holds metrics.npy, pred.npy, true.npy, and real_prediction.npy when prediction is enabled.
  • For CPU smoke, hide CUDA or use the smoke helper's CPU backend option; --use_gpu False is not a reliable CPU switch.

Read next

我的收藏