pub trait SVMSGDTraitConst: StatModelTraitConst {
// 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.