predict.svmroc: Predict method for 'svmroc'

Description Usage Arguments Value

View source: R/svmroc.R

Description

predict.svmroc produces predicted class assignments based on the fitted SVM.

Usage

1
predict.svmroc(object, newdata, weight = NULL)

Arguments

object

An object of class svmroc

newdata

New data on which to predict, a matrix with the same columns as X used for the fit producing object.

weight

The weight to used for prediction. If NULL, the optimal weight is calculated and used. Defaults to NULL.

Value

The vector of predicted class assignments.


djluckett/svmroc documentation built on Oct. 6, 2019, 12:42 a.m.