predict.samHL {SAM} | R Documentation |
Prediction function for S3 class "samHL"
Description
Predict the labels for testing data.
Usage
## S3 method for class 'samHL'
predict(object, newdata, thol = 0, ...)
Arguments
object |
An object with S3 class |
newdata |
The testing dataset represented in a |
thol |
The decision value threshold for prediction. The default value is 0.5 |
... |
System reserved (No specific usage) |
Details
The testing dataset is rescale to the samHLe range, and expanded by the samHLe spline basis functions as the training data.
Value
values |
Predicted decision values also represented in a |
labels |
Predicted labels also represented in a |
See Also
[Package SAM version 1.1.3 Index]