Learn R Programming

fastAdaboost (version 1.0.0)

print.adaboost: Print adaboost.m1 model summary

Description

S3 method to print an adaboost object

Usage

"print"(x, ...)

Arguments

x
object of class adaboost
...
arguments passed to print.default

Value

None

Details

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

See Also

print.real_adaboost

Examples

Run this code
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)

Run the code above in your browser using DataLab