evaluate_calibration
Computes accuracy, ECE, MCE, Brier score, and NLL from a predictions file and provides a plain-language over- or underconfidence diagnosis for classifier calibration audits.
Instructions
Compute accuracy, ECE, MCE, Brier score and NLL for a predictions file, plus a plain-language diagnosis (over/underconfidence).
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": {
"path": "<path>"
},
"name": "evaluate_calibration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| n_bins | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||