predict.clusterSVM | R Documentation |
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 class 'clusterSVM' predict(object, newdata = NULL, cluster.predict = NULL, ...)
object |
Object of class "clusterSVM", created by |
newdata |
An n x p matrix containing the new input data. Could be a matrix or a sparse matrix object. |
cluster.predict |
a function predict new labels on newdata. |
... |
other parameters passing to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.