print.adaboost: Print adaboost.m1 model summary

Description Usage Arguments Details Value See Also Examples

View source: R/print.adaboost.R

Description

S3 method to print an adaboost object

Usage

1
2
## S3 method for class 'adaboost'
print(x, ...)

Arguments

x

object of class adaboost

...

arguments passed to print.default

Details

Displays basic information on the model, such as function call, dependent variable, the number of trees, and weights assigned to each tree

Value

None

See Also

print.real_adaboost

Examples

1
2
3
4
fakedata <- data.frame( X=c(rnorm(100,0,1),rnorm(100,1,1)), Y=c(rep(0,100),rep(1,100) ) )
fakedata$Y <- factor(fakedata$Y)
test_adaboost <- adaboost(Y~X, fakedata, 10)
print(test_adaboost)

fastAdaboost documentation built on May 2, 2019, 3:33 p.m.