axe-xrf | R Documentation |
Axing a xrf.
## S3 method for class 'xrf'
axe_call(x, verbose = FALSE, ...)
## S3 method for class 'xrf'
axe_env(x, verbose = FALSE, ...)
x |
A model object. |
verbose |
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. |
Axed xrf object.
library(xrf)
xrf_big <- function() {
boop <- runif(1e6)
xrf(
mpg ~ .,
mtcars,
xgb_control = list(nrounds = 2, max_depth = 2),
family = 'gaussian'
)
}
heavy_m <- xrf_big()
m <- butcher(heavy_m, verbose = TRUE)
weigh(heavy_m)
weigh(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.