Prediction Plot
prediction_plotGenerate and save an actual-versus-predicted scatter plot for a regression model's test data to visually assess prediction accuracy against the red reference line.
Instructions
Generate and save an actual vs predicted scatter plot for a regression model on its test data. Points close to the red line are good predictions. Args: model_id (str): ID of the trained regression model. Returns: dict: Model ID, number of points plotted, 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": "prediction_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |