This function tests a regression model for a given X.test
feature matrix, Y.test
response vector, and working parameters.
GBM.test(model, X.test, Y.test, M.test)
Model returned by GBM.train
function.
Input N-by-p feature matrix of unseen samples. Columns correspond to features, rows correspond to samples.
Input N-element response vector of unseen samples.
Number of extensions of boosting model to take when predicting response. Must be not greater than M.train
used when training boosting model.
Result of regression