Enum linfa_kernel::KernelType [−][src]
pub enum KernelType {
Dense,
Sparse(usize),
}Kernel representation, can be either dense or sparse
Variants
Sparse(usize)A sparse kernel requires to define a number of neighbours between 1 and the total number of samples in input minus one.
Trait Implementations
impl Clone for KernelType[src]
impl Clone for KernelType[src]fn clone(&self) -> KernelType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for KernelType
impl RefUnwindSafe for KernelTypeimpl Send for KernelType
impl Send for KernelTypeimpl Sync for KernelType
impl Sync for KernelTypeimpl Unpin for KernelType
impl Unpin for KernelTypeimpl UnwindSafe for KernelType
impl UnwindSafe for KernelType