sklearn.svm.libsvm.decision_function()
Predict margin (libsvm name for this is predict_values)
We have to reconstruct model and parameters to make sure we stay in sync with the python object.
© 2007–2016 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.svm.libsvm.decision_function.html