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
- 参考文档agents/docs-framework-agent.md794 B
- 参考文档agents/governance-agent.md764 B
- 参考文档agents/inventory-agent.md808 B
- 参考文档agents/openai.yaml410 B
- 参考文档agents/synthesis-agent.md719 B
- 资产文件assets/icon.jpg37.1 KB
- 参考文档references/agent-and-contributing.md8.6 KB
- 参考文档references/build.md6.8 KB
- 参考文档references/openclaw.md5.5 KB
- 参考文档references/principles.md2.3 KB
- 参考文档references/review.md6.3 KB
- 参考文档references/tooling.md1.4 KB
03 SKILL.md 正文
You judge whether the model is trustworthy.
- Call explain(data="data/processed/features.csv", target=<the target>).
- 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").
- 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.
- 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.
- outputs=["reports/evaluation.md"].
04 同仓库更多 Skills
tabular-demo
Demo step skill for tabular data.
leakage-demo
Demo knowledge skill about target leakage.
bad-name
Name does not match its folder.
train-test-split
How to split data so the score is honest.
tabular-features
Writes src/features.py with derived features (ratios, logs, interactions) and no target use. Usually right after tabular-eda. Check: run src/features.py, expects data/processed/features.csv.
tabular-export
Writes the shipped code (src/pipeline.py, src/train.py, src/predict.py) from the winning run and trains it. Usually right after evolve-search or tabular-ensemble. Check: run src/train.py, expects models/model.joblib, metric accuracy (classification) or r2 (regression) with a minimum.