axe_env {butcher} | R Documentation |
Axe an environment.
Description
Remove the environment(s) attached to modeling objects as they are
not required in the downstream analysis pipeline. If found,
the environment is replaced with rlang::base_env()
.
Usage
axe_env(x, verbose = FALSE, ...)
Arguments
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. |
Value
Model object with empty environments.
Methods
See the following help topics for more details about individual methods:
butcher
axe-coxph
:coxph
axe-flexsurvreg
:flexsurvreg
axe-formula
:formula
axe-function
:function
axe-gam
:gam
axe-gausspr
:gausspr
axe-glm
:glm
axe-ipred
:classbagg
,regbagg
,survbagg
axe-kknn
:kknn
axe-lm
:lm
axe-mass
:lda
,qda
axe-mda
:fda
,mda
axe-model_fit
:model_fit
axe-nested_model_fit
:nested_model_fit
axe-nnet
:nnet
axe-randomForest
:randomForest
axe-rda
:rda
axe-recipe
:quosure
,recipe
,step
,step_arrange
,step_bagimpute
,step_filter
,step_geodist
,step_impute_bag
,step_impute_knn
,step_interact
,step_knnimpute
,step_mutate
,step_ratio
,step_slice
axe-rpart
:rpart
axe-sclass
:sclass
axe-survreg
:survreg
axe-survreg.penal
:survreg.penal
axe-terms
:terms
axe-train
:train
axe-train.recipe
:train.recipe
axe-xgb.Booster
:xgb.Booster
axe-xrf
:xrf