Developer functions for predictions via BART models
Arguments
- obj
A parsnip object.
- new_data
A rectangular data object, such as a data frame.
- type
A single character value or
NULL
. Possible values are"numeric"
,"class"
,"prob"
,"conf_int"
,"pred_int"
,"quantile"
,"time"
,"hazard"
,"survival"
, or"raw"
. WhenNULL
,predict()
will choose an appropriate value based on the model's mode.- level
Confidence level.
- std_err
Attach column for standard error of prediction or not.