This page

Citing

Please consider citing the scikit-learn.

9.1.9.4. sklearn.svm.libsvm.predict_proba

sklearn.svm.libsvm.predict_proba()

Predict probabilities

svm_model stores all parameters needed to predict a given value.

For speed, all real work is done at the C level in function copy_predict (libsvm_helper.c).

We have to reconstruct model and parameters to make sure we stay in sync with the python object.

Parameters :

X: array-like, dtype=float :

Y: array :

target vector

kernel : {‘linear’, ‘rbf’, ‘poly’, ‘sigmoid’, ‘precomputed’}