The function applies a model produced by the
dcSVM
function to every row of a data matrix and returns the model predictions.
# S3 method for dcSVM
predict(object, newdata, ...)
Object of class "dcSVM", created by dcSVM
.
An n x p matrix containing the new input data. Could be a matrix or a sparse matrix object.
other parameters passing to predict.svm