Enum linfa_kernel::KernelType [−][src]
pub enum KernelType {
Dense,
Sparse(usize),
}
Expand description
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.
Tuple Fields of Sparse
0: usize
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KernelType
impl Send for KernelType
impl Sync for KernelType
impl Unpin for KernelType
impl UnwindSafe for KernelType
Blanket Implementations
Mutably borrows from an owned value. Read more