Description Usage Arguments Value
View source: R/lantern_linear_reg-predict.R
Predict from a lantern_linear_reg
1 2 |
object |
A |
new_data |
A data frame or matrix of new predictors. |
type |
A single character. The type of predictions to generate. Valid options are:
|
epoch |
An integer for the epoch to make predictions from. If this value is larger than the maximum number that was fit, a warning is issued and the parameters from the last epoch are used. |
... |
Not used, but required for extensibility. |
A tibble of predictions. The number of rows in the tibble is guaranteed
to be the same as the number of rows in new_data
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.