Boosted tree regression using the agtboost package. Variable importance plot is printed along with returning the model. Noise features are eliminated from the plot.
tidy_agtboost(.data, formula, ...)
dataframe
formula
additional parameters to pass to gbt.train
agtboost model of class Rcpp_ENSEMBLE
iris %>%
tidy_formula(target = Petal.Length) -> f1
iris %>%
tidy_agtboost(f1)
#> 1 column(s) have become 2 dummy columns
#> C++ object <00000278162af150> of class 'ENSEMBLE' <000002781b4a5f40>