predSVM: Calculate the decision value of an SVM model

Description Usage Arguments Value

Description

Calculate the decision value of an SVM model. Note this is different from the actual prediction which is either 0 or 1, while decision values go from -1 to 1. (taken from [Zizen 2009] supplementary code)

Usage

1
predSVM(f, feature)

Arguments

f

The trained SVM model object.

feature

The input value to which output is needed.

Value

Decision value in the range -1 to 1.



Search within the ddgraph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.