AdaBoost: Demo of Adaboost using Sonar dataaset.

Description Usage Arguments Value See Also

View source: R/ada_boost.R

Description

The base learner is based on Recursive Partitioning and Regression Trees.

Usage

1
AdaBoost(train, test, index.x, index.y, n.iter)

Arguments

train

training dataset.

test

test dataset.

index.x

index of X.

index.y

index of Y.

n.iter

the number of iterations.

Value

a list of objects: train.error errors from training dataset. test.error errors from test dataset.

See Also

http://web.stanford.edu/class/stats202/


jlin-vt/SML documentation built on Dec. 5, 2019, 2:05 a.m.