test.gbm: Test the 'gbm' package.

View source: R/test.gbm.R

test.gbmR Documentation

Test the gbm package.

Description

Run tests on gbm functions to perform logical checks and reproducibility.

Usage

test.gbm()

Details

The function uses functionality in the RUnit package. A fairly small validation suite is executed that checks to see that relative influence identifies sensible variables from simulated data, and that predictions from GBMs with Gaussian, Cox or binomial distributions are sensible,

Value

An object of class RUnitTestData. See the help for RUnit for details.

Note

The test suite is not comprehensive.

Author(s)

Harry Southworth

See Also

gbm

Examples


# Uncomment the following lines to run - commented out to make CRAN happy
#library(RUnit)
#val <- validate.texmex()
#printHTMLProtocol(val, "texmexReport.html")

gbm documentation built on June 28, 2024, 9:07 a.m.