pub struct KernelSVM {
pub alphas: Vec<f64>,
pub labels: Vec<f64>,
pub bias: f64,
pub c: f64,
}Expand description
Kernel SVM dual representation.
Fields§
§alphas: Vec<f64>Dual variables α_i.
labels: Vec<f64>Labels y_i ∈ {-1, +1}.
bias: f64Bias term b.
c: f64Regularization parameter C.
Implementations§
Auto Trait Implementations§
impl Freeze for KernelSVM
impl RefUnwindSafe for KernelSVM
impl Send for KernelSVM
impl Sync for KernelSVM
impl Unpin for KernelSVM
impl UnsafeUnpin for KernelSVM
impl UnwindSafe for KernelSVM
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