Axing a bart model.Source:
Axing a bart model.
# S3 method for bart axe_call(x, verbose = FALSE, ...) # S3 method for bart axe_fitted(x, verbose = FALSE, ...)
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
Any additional arguments related to axing.
library(dbarts) #> #> Attaching package: ‘dbarts’ #> The following object is masked from ‘package:parsnip’: #> #> bart x <- dbarts::bart(mtcars[,2:5], mtcars[,1], verbose = FALSE, keeptrees = TRUE) res <- butcher(x, verbose = TRUE) #> ✔ Memory released: "280.12 kB" #> ✖ Disabled: `print()` and `summary()`