Enum opencv::ml::SVMSGD_MarginType [−][src]
#[repr(C)]
pub enum SVMSGD_MarginType {
SOFT_MARGIN,
HARD_MARGIN,
}
Expand description
Margin type.
Variants
SOFT_MARGIN
General case, suits to the case of non-linearly separable sets, allows outliers.
HARD_MARGIN
More accurate for the case of linearly separable sets.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SVMSGD_MarginType
impl Send for SVMSGD_MarginType
impl Sync for SVMSGD_MarginType
impl Unpin for SVMSGD_MarginType
impl UnwindSafe for SVMSGD_MarginType
Blanket Implementations
Mutably borrows from an owned value. Read more