Classification metrics / 分类性能报告
classification_metricsClassification metrics / 分类性能报告 | USE WHEN: full diagnostic performance set: accuracy, sensitivity, specificity, PPV, NPV, F1 | ALIASES: 分类性能, 准确率, 敏感度, 特异度, PPV, NPV, confusion matrix, 诊断指标 | RETURNS: 分类指标全套
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"labels": "<labels>",
"predictions": "<predictions>"
},
"name": "classification_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | 真实标签 | |
| threshold | No | 判定阈值 | |
| predictions | Yes | 预测结果(0/1) |