predict.alphasvm: Prediction function for an alphasvm object

Description Usage Arguments

Description

Prediction function for an alphasvm object

Usage

1
2
3
4
## S3 method for class 'alphasvm'
predict(object, newdata, decision.values = FALSE,
  probability = FALSE, confscaling = NULL, testscaling = NULL, ...,
  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.)


aydindemircioglu/ConfSVM documentation built on May 11, 2019, 4:12 p.m.