Currently implemented is the quantile method with BOP intervals. Used inside rfint().
RoyRF(
formula = NULL,
train_data = NULL,
pred_data = NULL,
num_trees = NULL,
min_node_size = NULL,
m_try = NULL,
keep_inbag = TRUE,
intervals = TRUE,
interval_method = "quantile",
calibrate = FALSE,
alpha = NULL,
num_threads = NULL,
tolerance = NULL,
step_percent = NULL,
under = NULL,
method = NULL,
max_iter = NULL,
interval_type = NULL
)
Object of class formula or character describing the model to fit. Interaction terms supported only for numerical variables.
Training data of class data.frame, matrix, dgCMatrix (Matrix) or gwaa.data (GenABEL). Matches ranger() requirements.
Test data of class data.frame, matrix, dgCMatrix (Matrix) or gwaa.data (GenABEL). Utilizes ranger::predict() to get prediction intervals for test data.
Number of trees.
Minimum number of observations before split at a node.
Number of variables to randomly select from at each split.
Saves matrix of observations and which tree(s) they occur in. Required to be true to generate variance estimates for Ghosal, Hooker 2018 method. *Should not be an option...
Generate prediction intervals or not.
which prediction interval type to generate. Several outlined in paper; currently only one method implemented.
calibrate prediction intervals based on out-of-bag performance. Adjusts alpha to get nominal coverage.
Significance level for prediction intervals.
The number of threads to use in parallel. Default is the current number of cores.
Type of prediction interval to generate.
Options are method = c("two-sided", "lower", "upper")
. Default is method = "two-sided"
.