setAdaBoost: Create setting for AdaBoost with python

Description Usage Arguments Examples

View source: R/AdaBoost.R

Description

Create setting for AdaBoost with python

Usage

1
setAdaBoost(nEstimators = 50, learningRate = 1, seed = NULL)

Arguments

nEstimators

The maximum number of estimators at which boosting is terminated

learningRate

Learning rate shrinks the contribution of each classifier by learningRate. There is a trade-off between learningRate and nEstimators .

seed

A seed for the model

Examples

1
2
3
4
## Not run: 
model.adaBoost <- setAdaBoost(size = 4, alpha = 1e-05, seed = NULL)

## End(Not run)

hxia/plp-git-demo documentation built on March 19, 2021, 1:54 a.m.