enum cv::ml::SVM::Types

Overview

SVM type Moreā€¦

#include <ml.hpp>

enum Types
{
    C_SVC     =100,
    NU_SVC    =101,
    ONE_CLASS =102,
    EPS_SVR   =103,
    NU_SVR    =104,
};

Detailed Documentation

SVM type

Enum Values

C_SVC

C-Support Vector Classification. n-class classification (n \(\geq\) 2), allows imperfect separation of classes with penalty multiplier C for outliers.

NU_SVC

\(\nu\) -Support Vector Classification. n-class classification with possible imperfect separation. Parameter \(\nu\) (in the range 0..1, the larger the value, the smoother the decision boundary) is used instead of C.

ONE_CLASS

Distribution Estimation (One-class SVM). All the training data are from the same class, SVM builds a boundary that separates the class from the rest of the feature space.

EPS_SVR

\(\epsilon\) -Support Vector Regression. The distance between feature vectors from the training set and the fitting hyper-plane must be less than p. For outliers the penalty multiplier C is used.

NU_SVR

\(\nu\) -Support Vector Regression. \(\nu\) is used instead of p. See [16] for details.