pub struct Kernels;Expand description
Pre-defined kernel functions
Implementations§
Source§impl Kernels
impl Kernels
Sourcepub fn linear() -> LinearKernel
pub fn linear() -> LinearKernel
Return a default linear
Sourcepub fn polynomial() -> PolynomialKernel
pub fn polynomial() -> PolynomialKernel
Return a default polynomial
Sourcepub fn sigmoid() -> SigmoidKernel
pub fn sigmoid() -> SigmoidKernel
Return a default sigmoid
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kernels
impl RefUnwindSafe for Kernels
impl Send for Kernels
impl Sync for Kernels
impl Unpin for Kernels
impl UnwindSafe for Kernels
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