"samHL"
Predict the labels for testing data.
# S3 method for samHL
predict(object, newdata, thol = 0, ...)
An object with S3 class "samHL"
.
The testing dataset represented in a n
by d
matrix, where n
is testing sample size and d
is dimension.
The decision value threshold for prediction. The default value is 0.5
System reserved (No specific usage)
Predicted decision values also represented in a n
by the length of lambda
matrix, where n
is testing sample size.
Predicted labels also represented in a n
by the length of lambda
matrix, where n
is testing sample size.
The testing dataset is rescale to the samHLe range, and expanded by the samHLe spline basis functions as the training data.