regressoR (version 1.1.7)

boosting_model: boosting_model

Description

generates the code to create the boosting model.

Usage

boosting_model(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.boosting", n.trees = 50,
  distribution = "gaussian", shrinkage = 0.1)

Arguments

data

the name of the learning data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

n.trees

the n.trees parameter of the model.

distribution

the distribution parameter of the model.

shrinkage

the shrinkage parameter of the model.

See Also

gbm

Examples

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

x <- boosting_model('iris', 'Petal.Length')
exe(x)
print(modelo.boosting)

# }

Run the code above in your browser using DataCamp Workspace