RDocumentation
Moon
Learn R
Search all packages and functions
RGBM (version 1.0-4)
GBM.test:
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
See Also
GBM.train