| title | Get Batch Predictions |
|---|---|
| sidebarTitle | Get Batch Predictions |
The predict() function fetches predictions from the model table.
Use the predict() method to make batch predictions by passing the data table as its argument:
my_model.predict(my_table.limit(10))To use the partition_size parameter, provide the below argument to the predict function, specifying the partition size, like this:
my_model.predict(df, params={'partition_size': 2})