Learn R Programming

deepboost (version 0.1.5)

show,Deepboost-method: Print method for Deepboost model Evaluates a trained deepboost model object.

Description

Print method for Deepboost model Evaluates a trained deepboost model object.

Usage

"show"(object)

Arguments

object
Object of class "Deepboost"

Details

Prints : Model error: X" Average tree size: Y" Number of trees: Z"

Examples

Run this code
dpb <- deepboost(y ~ .,
 data.frame(x1=rep(c(0,0,1,1),2),x2=rep(c(0,1,0,1),2),y=factor(rep(c(0,0,0,1),2))),
 num_iter=2,tree_depth=2)
print(dpb)

Run the code above in your browser using DataLab