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)
The trained SVM model object.
The input value to which output is needed.
Decision value in the range -1 to 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.