#[repr(C)]pub struct svm_parameter {Show 15 fields
pub svm_type: c_int,
pub kernel_type: c_int,
pub degree: c_int,
pub gamma: f64,
pub coef0: f64,
pub cache_size: f64,
pub eps: f64,
pub C: f64,
pub nr_weight: c_int,
pub weight_label: *mut c_int,
pub weight: *mut f64,
pub nu: f64,
pub p: f64,
pub shrinking: c_int,
pub probability: c_int,
}
Fields§
§svm_type: c_int
§kernel_type: c_int
§degree: c_int
§gamma: f64
§coef0: f64
§cache_size: f64
§eps: f64
§C: f64
§nr_weight: c_int
§weight_label: *mut c_int
§weight: *mut f64
§nu: f64
§p: f64
§shrinking: c_int
§probability: c_int
Trait Implementations§
Source§impl Clone for svm_parameter
impl Clone for svm_parameter
Source§fn clone(&self) -> svm_parameter
fn clone(&self) -> svm_parameter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for svm_parameter
impl Debug for svm_parameter
impl Copy for svm_parameter
Auto Trait Implementations§
impl Freeze for svm_parameter
impl RefUnwindSafe for svm_parameter
impl !Send for svm_parameter
impl !Sync for svm_parameter
impl Unpin for svm_parameter
impl UnwindSafe for svm_parameter
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