powered by
predict.sda performs class prediction.
predict.sda
# S3 method for sda predict(object, Xtest, verbose=TRUE, ...)
An sda fit object obtained from the function sda.
sda
A matrix containing the test data set. Note that the rows correspond to observations and the columns to variables.
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:
a factor with the most probable class assignment for each test sample, and
a matrix containing the respective class posterior probabilities.
sda, sda.ranking.
sda.ranking
# NOT RUN { # see the examples at the "sda" help page # }
Run the code above in your browser using DataLab