This function is used to predict new observations using the predictive models comprising an ensemble. It calls on the respective method based on the type of model, and returns the predictions as a list.
1 | compute_predictions(M, form, data)
|
M |
list of base models; |
form |
formula; |
data |
new data to predict; |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.