predict
Score new data with a trained AutoML model by providing the run ID and absolute path to a CSV or JSON file; returns the path to a JSON results file.
Instructions
Make predictions using a trained model.
- NOTE: Please use absolute paths for data_path to avoid path resolution errors.
Args:
run_id: The ID of the training run (returned by train_classifier or train_regressor).
data_path: The path to the CSV or JSON file containing the input data.
Returns:
The absolute path to the JSON file containing the predictions.
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": {
"run_id": "<run_id>",
"data_path": "<data_path>"
},
"name": "predict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| data_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |