[][src]Enum opencv::ml::SVM_Types

#[repr(C)]pub enum SVM_Types {
    C_SVC,
    NU_SVC,
    ONE_CLASS,
    EPS_SVR,
    NU_SVR,
}

%SVM type

Variants

C_SVC

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

NU_SVC

inline formula-Support Vector Classification. n-class classification with possible imperfect separation. Parameter inline formula (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

inline formula-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

inline formula-Support Vector Regression. inline formula is used instead of p. See LibSVM for details.

Trait Implementations

impl Clone for SVM_Types[src]

impl Copy for SVM_Types[src]

impl Debug for SVM_Types[src]

impl PartialEq<SVM_Types> for SVM_Types[src]

impl StructuralPartialEq for SVM_Types[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.