[][src]Struct lfa::basis::KernelBasis

pub struct KernelBasis<C, K> {
    pub prototypes: Vec<Prototype<C, K>>,
}

Kernel-machine basis.

Fields

prototypes: Vec<Prototype<C, K>>

Implementations

impl<C, K> KernelBasis<C, K>[src]

pub fn new(prototypes: Vec<Prototype<C, K>>) -> Self[src]

pub fn homogeneous<T>(centroids: T, kernel: K) -> Self where
    K: Clone,
    T: IntoIterator<Item = C>, 
[src]

impl KernelBasis<Vec<f64>, ExpQuad>[src]

pub fn exp_quad(partitioning: ProductSpace<Equipartition>) -> Self[src]

impl KernelBasis<Vec<f64>, Matern32>[src]

pub fn matern_32(partitioning: ProductSpace<Equipartition>) -> Self[src]

impl KernelBasis<Vec<f64>, Matern52>[src]

pub fn matern_52(partitioning: ProductSpace<Equipartition>) -> Self[src]

Trait Implementations

impl<T, K> Basis<T> for KernelBasis<Vec<f64>, K> where
    T: Borrow<[f64]>,
    K: for<'x> Kernel<&'x [f64]>, 
[src]

impl<C: Clone, K: Clone> Clone for KernelBasis<C, K>[src]

impl<C, K> Combinators for KernelBasis<C, K>[src]

impl<C: Debug, K: Debug> Debug for KernelBasis<C, K>[src]

impl<T, K> EnumerableBasis<T> for KernelBasis<Vec<f64>, K> where
    T: Borrow<[f64]>,
    K: for<'x> Kernel<&'x [f64]>, 
[src]

impl<C: PartialEq, K: PartialEq> PartialEq<KernelBasis<C, K>> for KernelBasis<C, K>[src]

impl<C, K> Space for KernelBasis<C, K>[src]

type Value = Features

The data representation of the space.

impl<C, K> StructuralPartialEq for KernelBasis<C, K>[src]

Auto Trait Implementations

impl<C, K> RefUnwindSafe for KernelBasis<C, K> where
    C: RefUnwindSafe,
    K: RefUnwindSafe

impl<C, K> Send for KernelBasis<C, K> where
    C: Send,
    K: Send

impl<C, K> Sync for KernelBasis<C, K> where
    C: Sync,
    K: Sync

impl<C, K> Unpin for KernelBasis<C, K> where
    C: Unpin,
    K: Unpin

impl<C, K> UnwindSafe for KernelBasis<C, K> where
    C: UnwindSafe,
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.