predict.samLL {SAM} | R Documentation |
"samLL"
Predict the labels for testing data.
## S3 method for class 'samLL'
predict(object, newdata, thol = 0.5, ...)
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) |
The testing dataset is rescale to the samLLe range, and expanded by the samLLe spline basis functions as the training data.
probs |
Estimated Posterior Probability for Prediction also represented in a |
labels |
Predicted labels also represented in a |