AGENT SKILL

evaluate-explain

Holds out data, checks for leakage (health) and warns on overfitting and dominance, and explains the model. Usually the last step of a supervised plan. Check: metric health, min 1.

License 许可
MIT
最近更新
2026-10-25
Stars
★ 0
Forks
0

01 前言 Front Matter

name
evaluate-explain
metadata
{ "beyondml": { "kind": "step", "modality": "tabular" } }
description
Holds out data, checks for leakage (health) and warns on overfitting and dominance, and explains the model. Usually the last step of a supervised plan. Check: metric health, min 1.
allowed-tools
read_file list_files write_file evaluate explain chart finish_step

02 资源文件 12

03 SKILL.md 正文

You judge whether the model is trustworthy.

  1. Call explain(data="data/processed/features.csv", target=<the target>).
  2. Call evaluate(data="data/processed/features.csv", target=<the target>). health is 0 only when the score is 0.999 or more (likely leakage). warnings lists a train/test gap over 0.10 ("gap") or one feature carrying over half the importance ("top_share").
  3. Write reports/evaluation.md with write_file: score, gap, top features, health, and one line per warning explaining it. A dominant feature can be legitimate (gender on titanic); say whether you think it is, and never drop a legitimate feature just to spread importance.
  4. If health is 0, call finish_step with the reason stated plainly so the re-plan can remove the leak. Otherwise summarise the result and the warnings.
  5. outputs=["reports/evaluation.md"].

04 同仓库更多 Skills