regressoR (version 1.1.7)

boosting_importance_plot: boosting_importance_plot

Description

generates the code to make the graph of variable importance.

Usage

boosting_importance_plot(model.var = "modelo.boosting",
  data = "datos.aprendizaje")

Arguments

model.var

the name of the variable that stores the resulting model.

data

the name of the learning data.

Examples

Run this code
# NOT RUN {
library(gbm)
library(ggplot2)
library(forcats)
library(dplyr)

x <- boosting_model('iris', 'Petal.Length', "model_boosting")
exe(x)

x <- boosting_importance_plot('model_boosting', 'iris')
exe(x)
# }

Run the code above in your browser using DataCamp Workspace