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