bart-internal | R Documentation |
Developer functions for predictions via BART models
bartMachine_interval_calc(new_data, obj, ci = TRUE, level = 0.95)
dbart_predict_calc(obj, new_data, type, level = 0.95, std_err = FALSE)
new_data |
A rectangular data object, such as a data frame. |
obj |
A parsnip object. |
ci |
Confidence (TRUE) or prediction interval (FALSE) |
level |
Confidence level. |
type |
A single character value or |
std_err |
Attach column for standard error of prediction or not. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.