powered by
Axing a bart model.
# S3 method for bart axe_call(x, verbose = FALSE, ...)# S3 method for bart axe_fitted(x, verbose = FALSE, ...)
# S3 method for bart axe_fitted(x, verbose = FALSE, ...)
Axed bart object.
A model object.
Print information each time an axe method is executed. Notes how much memory is released and what functions are disabled. Default is FALSE.
FALSE
Any additional arguments related to axing.
if (FALSE) { # rlang::is_installed("dbarts") library(dbarts) x <- dbarts::bart(mtcars[,2:5], mtcars[,1], verbose = FALSE, keeptrees = TRUE) res <- butcher(x, verbose = TRUE) }
Run the code above in your browser using DataLab