boosting_prediction

0th

Percentile

boosting_prediction

generates the code to create the prediction of the boosting model.

Usage
boosting_prediction(data = "datos.prueba", variable.pred = NULL,
  model.var = "modelo.boosting", pred.var = "prediccion.boosting",
  n.trees = 50)
Arguments
data

the name of the test data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

pred.var

the name of the variable that stores the resulting prediction.

n.trees

the n.trees parameter of the model.

See Also

gbm

Aliases
  • boosting_prediction
Examples
# NOT RUN {
library(gbm)
library(dplyr)
x <- boosting_model('iris', 'Petal.Length', "model_boosting")
exe(x)
print(model_boosting)

x <- boosting_prediction('iris', 'Petal.Length', 'model_boosting', 'my_prediction')
exe(x)
print(my_prediction)

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.