Description Usage Arguments Value Author(s) See Also Examples
predict.sda
performs class prediction.
1 2 |
object |
An |
Xtest |
A matrix containing the test data set. Note that the rows correspond to observations and the columns to variables. |
verbose |
Report shrinkage intensities (sda) and number of used features (predict.sda). |
... |
Additional arguments for generic predict. |
predict.sda
predicts class probabilities for each test sample and returns
a list with two components:
class |
a factor with the most probable class assignment for each test sample, and |
posterior |
a matrix containing the respective class posterior probabilities. |
Miiika Ahdesm\"aki and Korbinian Strimmer (https://strimmerlab.github.io).
1 | # see the examples at the "sda" help page
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.