[−][src]Struct lfa::basis::KernelBasis
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]
K: Clone,
T: IntoIterator<Item = C>,
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]
T: Borrow<[f64]>,
K: for<'x> Kernel<&'x [f64]>,
impl<C: Clone, K: Clone> Clone for KernelBasis<C, K>
[src]
fn clone(&self) -> KernelBasis<C, K>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C, K> Combinators for KernelBasis<C, K>
[src]
fn stack<T>(self, other: T) -> Stack<Self, T> where
Self: Sized,
[src]
Self: Sized,
fn with_bias(self) -> Stack<Self, Bias> where
Self: Sized,
[src]
Self: Sized,
fn normalise_l0(self) -> L0Normaliser<Self> where
Self: Sized,
[src]
Self: Sized,
fn normalise_l1(self) -> L1Normaliser<Self> where
Self: Sized,
[src]
Self: Sized,
fn normalise_l2(self) -> L2Normaliser<Self> where
Self: Sized,
[src]
Self: Sized,
fn normalise_linf(self) -> LinfNormaliser<Self> where
Self: Sized,
[src]
Self: Sized,
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]
T: Borrow<[f64]>,
K: for<'x> Kernel<&'x [f64]>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<C: PartialEq, K: PartialEq> PartialEq<KernelBasis<C, K>> for KernelBasis<C, K>
[src]
fn eq(&self, other: &KernelBasis<C, K>) -> bool
[src]
fn ne(&self, other: &KernelBasis<C, K>) -> bool
[src]
impl<C, K> Space for KernelBasis<C, K>
[src]
type Value = Features
The data representation of the space.
fn dim(&self) -> Dim
[src]
fn card(&self) -> Card
[src]
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,
C: RefUnwindSafe,
K: RefUnwindSafe,
impl<C, K> Send for KernelBasis<C, K> where
C: Send,
K: Send,
C: Send,
K: Send,
impl<C, K> Sync for KernelBasis<C, K> where
C: Sync,
K: Sync,
C: Sync,
K: Sync,
impl<C, K> Unpin for KernelBasis<C, K> where
C: Unpin,
K: Unpin,
C: Unpin,
K: Unpin,
impl<C, K> UnwindSafe for KernelBasis<C, K> where
C: UnwindSafe,
K: UnwindSafe,
C: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,