| predict.samLL | R Documentation |
"samLL"Predict class probabilities and labels for test data.
## S3 method for class 'samLL'
predict(object, newdata, thol = 0.5, ...)
object |
An object with S3 class |
newdata |
Numeric test matrix with |
thol |
Decision-value threshold used to convert probabilities to labels. The default value is |
... |
Additional arguments passed to methods; currently unused. |
The test matrix is rescaled using the training X.min/X.ran,
truncated to [0, 1], and expanded with the same spline basis used
during training.
probs |
Estimated posterior probabilities as an |
labels |
Predicted class labels ( |
samLL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.