#[repr(i32)]pub enum SvmType {
CSvc = 0,
NuSvc = 1,
OneClass = 2,
EpsilonSvr = 3,
NuSvr = 4,
}Expand description
Type of SVM formulation.
Matches the integer constants in the original LIBSVM (svm.h):
C_SVC=0, NU_SVC=1, ONE_CLASS=2, EPSILON_SVR=3, NU_SVR=4.
Variants§
CSvc = 0
C-Support Vector Classification.
NuSvc = 1
ν-Support Vector Classification.
OneClass = 2
One-class SVM (distribution estimation / novelty detection).
EpsilonSvr = 3
ε-Support Vector Regression.
NuSvr = 4
ν-Support Vector Regression.
Trait Implementations§
impl Copy for SvmType
impl Eq for SvmType
impl StructuralPartialEq for SvmType
Auto Trait Implementations§
impl Freeze for SvmType
impl RefUnwindSafe for SvmType
impl Send for SvmType
impl Sync for SvmType
impl Unpin for SvmType
impl UnwindSafe for SvmType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more