print.SuperLearner: print a SuperLearner object

Description Usage Arguments Details Value Author(s)

Description

reports the coefficients (weights) for each algorithm in the library

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'SuperLearner'
print(x, ...)
## S3 method for class 'CV.SuperLearner'
print(x, ...)
## S3 method for class 'SuperLearner'
coef(object, ...)
## S3 method for class 'CV.SuperLearner'
coef(object, ...)

Arguments

x

A SuperLearner object

object

A SuperLearner object

...

additional arguments

Details

prints the coefficients from the SuperLearner model. The predicted values from newX can be found in x\$SL.predict

Value

prints a coefficient vector and the cross-validated risk for each algorithm in the library

Author(s)

Eric C Polley ecpolley@berkeley.edu


ecpolley/SuperLearner_Old documentation built on May 15, 2019, 10:08 p.m.