AGENT SKILL
choose-metric
How to pick the evaluation metric for a tabular problem.
- License 许可
- MIT
- 最近更新
- 2026-10-25
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- choose-metric
- metadata
- { "beyondml": { "kind": "knowledge" } }
- description
- How to pick the evaluation metric for a tabular problem.
02 资源文件 1
- 参考文档agents/openai.yaml423 B
03 SKILL.md 正文
- Balanced classification: accuracy is fine; report the confusion matrix too.
- Imbalanced classification: prefer F1 (or recall when missing positives is costly) and look at the minority class.
- Ranking or probability quality: ROC AUC.
- Regression: R2 for explained variance; MAE when outliers should not dominate; RMSE when large errors matter most.
- Always compare against a trivial baseline (majority class, or the mean).
04 同仓库更多 Skills
tabular-demo
Demo step skill for tabular data.
★ 0
leakage-demo
Demo knowledge skill about target leakage.
★ 0
bad-name
Name does not match its folder.
★ 0
train-test-split
How to split data so the score is honest.
★ 0
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.
★ 0
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.
★ 0