predict
Generate predictions on a dataframe using a stored model and save them as a new column. The data must include the same features used during training.
Instructions
Generate predictions on a dataframe using a stored model. Stores predictions as a new column. Generate predictions on new data. The dataframe must contain the same feature columns used during training. Example: predict(model_name="random_forest_data_train", df_name="data_test")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "predict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| df_name | No | ||
| model_name | No | ||
| prediction_column | No | prediction |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |