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

evaluation-interpretability

evaluation-interpretability

【效率与协作】Guides PyHealth metric selection, output-shape validation, calibration and prediction sets, fairness/generative evaluation, and model interpretability workflows.

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

技能说明

GitHub

name: evaluation-interpretability description: "Guides PyHealth metric selection, output-shape validation, calibration and prediction sets, fairness/generative evaluation, and model interpretability workflows." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

PyHealth evaluation and interpretability

Use this route once a task/model has produced labels and probabilities or when the user needs calibration, conformal/prediction sets, fairness, generative utility/privacy, or explanations.

Workflow

  1. Record the task mode and exact y_true/y_prob shapes from clinical-tasks and models-training.
  2. Choose the matching metric family: binary, multiclass, multilabel, regression, ranking, drug recommendation, generative, fairness, or interpretability. Read metrics.
  3. Validate thresholds, class axes, masks, and patient IDs on a deterministic fixture. Run scripts/metric_smoke.py before a real evaluation.
  4. For calibration/prediction sets, reserve calibration data separately and read calibration and prediction sets.
  5. For explanations, use a trained differentiable model and a meaningful baseline/input; read interpretability.
  6. Report metrics with cohort, split, label definition, missingness, threshold, random seed, and uncertainty. A score is not clinical validation.

Read troubleshooting for common shape, class-balance, calibration, and explanation failures.

我的收藏