Enum vlfeat_sys::VlSvmLossType
[−]
[src]
#[repr(u32)]pub enum VlSvmLossType { VlSvmLossHinge, VlSvmLossHinge2, VlSvmLossL1, VlSvmLossL2, VlSvmLossLogistic, }
@brief Type of SVM loss ** ** Default SVM loss types. The loss can be set by using ::vl_svm_set_loss. ** Note that custom losses can be used too by using ::vl_svm_set_loss_function, ** ::vl_svm_set_loss_derivative_function, etc. ** ** @sa svm-loss-functions
Variants
VlSvmLossHinge
VlSvmLossHinge2
VlSvmLossL1
VlSvmLossL2
VlSvmLossLogistic
Trait Implementations
impl Debug for VlSvmLossType
[src]
impl Copy for VlSvmLossType
[src]
impl Clone for VlSvmLossType
[src]
fn clone(&self) -> VlSvmLossType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for VlSvmLossType
[src]
fn eq(&self, __arg_0: &VlSvmLossType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.