Residual Plot
residual_plotGenerate and save residual plots for a regression model's test data, including residuals versus predicted values and a residual histogram, to help diagnose model fit.
Instructions
Generate and save residual plots for a regression model on its test data: residuals vs predicted values, and a histogram of the residuals. Args: model_id (str): ID of the trained regression model. Returns: dict: Model ID, mean and std of residuals, 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": "residual_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |