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")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| df_name | No | ||
| model_name | No | ||
| prediction_column | No | prediction |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |