predict.clusterSVM: Predictions with Clustered Support Vector Machines

View source: R/clusterSVM.R

predict.clusterSVMR Documentation

Predictions with Clustered Support Vector Machines

Description

The function applies a model (classification) produced by the clusterSVM function to every row of a data matrix and returns the model predictions.

Usage

## S3 method for class 'clusterSVM'
predict(object, newdata = NULL, cluster.predict = NULL, ...)

Arguments

object

Object of class "clusterSVM", created by clusterSVM.

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 predict.LiblineaR


SwarmSVM documentation built on Dec. 28, 2022, 1:24 a.m.