Learn R Programming

SwarmSVM (version 0.1-7)

predict.dcSVM: Predictions with Divide-Conquer Support Vector Machines

Description

The function applies a model produced by the dcSVM function to every row of a data matrix and returns the model predictions.

Usage

# S3 method for dcSVM
predict(object, newdata, ...)

Arguments

object

Object of class "dcSVM", created by dcSVM.

newdata

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