predict.alphasvm

0th

Percentile

Prediction function for an alphasvm object

Prediction function for an alphasvm object

Usage
# S3 method for alphasvm
predict(object, newdata, decision.values = FALSE,
  probability = FALSE, ..., na.action = stats::na.omit)
Arguments
object

the object trained from alphasvm

newdata

the test data set

decision.values

a logical variable indicating whether to output the decision values

probability

a logical variable indicating whether to output the classfication probability

...

currently not used

na.action

A function to specify the action to be taken if 'NA's are found. The default action is stats::na.omit, which leads to rejection of cases with missing values on any required variable. An alternative is stats::na.fail, which causes an error if NA cases are found. (NOTE: If given, this argument must be named.)

Aliases
  • predict.alphasvm
Documentation reproduced from package SwarmSVM, version 0.1-5, License: GPL-2

Community examples

Looks like there are no examples yet.