Learn R Programming

deepboost (version 0.1.5)

deepboost.train: Trains a deepboost model

Description

Trains a deepboost model

Usage

deepboost.train(object, data, tree_depth, num_iter, beta, lambda, loss_type, verbose, classes)

Arguments

object
A Deepboost S4 class object
data
input data.frame as training for model
tree_depth
maximum depth for a single decision tree in the model
num_iter
number of iterations = number of trees in ensemble
beta
regularisation for scores (L1)
lambda
regularisation for tree depth
loss_type
- "l" logistic, "e" exponential
verbose
- print extra data while training TRUE / FALSE
classes
a vector of factors representing the classes used for classification with this model

Value

A trained Deepbost model

Details

(beta,lambda) = (0,0) - adaboost, (>0,0) - L1, (0,>0) deepboost, (>0, >0) deepbost+L1