GBM.test: Test GBM predictor

View source: R/GBM.test.R

GBM.testR Documentation

Test GBM predictor

Description

This function tests a regression model for a given X.test feature matrix, Y.test response vector, and working parameters.

Usage

GBM.test(model, X.test, Y.test, M.test)

Arguments

model

Model returned by GBM.train function.

X.test

Input N-by-p feature matrix of unseen samples. Columns correspond to features, rows correspond to samples.

Y.test

Input N-element response vector of unseen samples.

M.test

Number of extensions of boosting model to take when predicting response. Must be not greater than M.train used when training boosting model.

Value

Result of regression

Author(s)

Raghvendra Mall <rmall@hbku.edu.qa>

See Also

GBM.train


RGBM documentation built on Aug. 11, 2022, 5:10 p.m.

Related to GBM.test in RGBM...