Trait opencv::prelude::SVMSGDConst
source · pub trait SVMSGDConst: StatModelConst {
// Required method
fn as_raw_SVMSGD(&self) -> *const c_void;
// Provided methods
fn get_svmsgd_type(&self) -> Result<i32> { ... }
fn get_margin_type(&self) -> Result<i32> { ... }
fn get_margin_regularization(&self) -> Result<f32> { ... }
fn get_initial_step_size(&self) -> Result<f32> { ... }
fn get_step_decreasing_power(&self) -> Result<f32> { ... }
fn get_term_criteria(&self) -> Result<TermCriteria> { ... }
}
Expand description
Constant methods for crate::ml::SVMSGD
Required Methods§
fn as_raw_SVMSGD(&self) -> *const c_void
Provided Methods§
sourcefn get_svmsgd_type(&self) -> Result<i32>
fn get_svmsgd_type(&self) -> Result<i32>
sourcefn get_margin_type(&self) -> Result<i32>
fn get_margin_type(&self) -> Result<i32>
sourcefn get_margin_regularization(&self) -> Result<f32>
fn get_margin_regularization(&self) -> Result<f32>
sourcefn get_initial_step_size(&self) -> Result<f32>
fn get_initial_step_size(&self) -> Result<f32>
sourcefn get_step_decreasing_power(&self) -> Result<f32>
fn get_step_decreasing_power(&self) -> Result<f32>
sourcefn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon).
See also
setTermCriteria