Learn R Programming

SwarmSVM (version 0.1-7)

predict.gaterSVM: Prediction for Gater SVM

Description

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

Usage

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

Arguments

object

An object of class gaterSVM

newdata

newdata An n x p matrix containing the new input data. Could be a matrix or a sparse matrix object.

...

parameters for future usage.