Roc Curve
roc_curvePlot and save ROC curves for a trained classification model on test data, with one-vs-rest curves for multiclass models and AUC scores per class.
Instructions
Generate and save the ROC curve of a classification model on its test data. Binary models get one curve; multiclass models get one-vs-rest curves. Args: model_id (str): ID of the trained classification model. Returns: dict: Model ID, AUC score per class, and saved image filename.
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": {
"model_id": "<model_id>"
},
"name": "roc_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |