predict.EBM | R Documentation |
Compute predicted values from a fitted explainable boosting machine.
## S3 method for class 'EBM'
predict(
object,
newdata,
type = c("response", "link", "class", "terms"),
se_fit = FALSE,
init_score = NULL,
...
)
object |
A fitted ebm object. |
newdata |
A data frame in which to look for variables with which to predict. |
type |
The type of prediction required. Current options include:
|
se_fit |
Logical indicating whether or not standard errors are required. Ignored for multiclass outcomes. Note that standard errors are only available on the link scale. |
init_score |
Optional. Either a model that can generate scores or
per-sample initialization score. If samples scores it should be the same
length as |
... |
Additional optional arguments. (Currently ignored.) |
Either a vector, matrix, or list of results. See the type
argument
for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.