Expand description
Prediction functions matching the original LIBSVM.
Provides predict, predict_values, and predict_probability for
all SVM types:
- Classification (C-SVC, ν-SVC): one-vs-one voting + optional probability
- One-class SVM: sign of decision value + optional density probability
- Regression (ε-SVR, ν-SVR): continuous output
Functions§
- predict
- Predict the label/value for a single instance.
- predict_
probability - Predict with probability estimates.
- predict_
values - Compute decision values and return the predicted label/value.