[−][src]Trait lfa::basis::EnumerableBasis
Provided methods
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
Compute the the ith element of the projection for the given
input
.
Note: the default implementation computes the full basis to access a single index. More computational efficient methods should be implemented where possible.
Implementors
impl<'a, T> EnumerableBasis<T> for UniformGrid where
T: IntoIterator<Item = &'a f64>,
[src]
T: IntoIterator<Item = &'a f64>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<'a, T, H> EnumerableBasis<T> for TileCoding<H> where
T: IntoIterator<Item = &'a f64>,
H: BuildHasher,
[src]
T: IntoIterator<Item = &'a f64>,
H: BuildHasher,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<I: Borrow<f64>, T: IntoIterator<Item = I>> EnumerableBasis<T> for Fourier
[src]
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<I: Borrow<f64>, T: IntoIterator<Item = I>> EnumerableBasis<T> for Polynomial where
T::IntoIter: Clone,
[src]
T::IntoIter: Clone,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<I: Borrow<f64>, T: IntoIterator<Item = I>> EnumerableBasis<T> for Chebyshev where
T::IntoIter: Clone,
[src]
T::IntoIter: Clone,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T> EnumerableBasis<T> for Bias
[src]
fn ith(&self, _: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T> EnumerableBasis<T> for Fixed<(usize, HashSet<IndexT>)>
[src]
fn ith(&self, _: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T> EnumerableBasis<T> for Fixed<Vec<f64>>
[src]
fn ith(&self, _: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T, B> EnumerableBasis<T> for L0Normaliser<B> where
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
[src]
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T, B> EnumerableBasis<T> for L1Normaliser<B> where
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
[src]
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T, B> EnumerableBasis<T> for L2Normaliser<B> where
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
[src]
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T, B> EnumerableBasis<T> for LinfNormaliser<B> where
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
[src]
B: Basis<T, Value = Features>,
B::Value: Index<usize, Output = ActivationT>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[src]
impl<T, B1, B2> EnumerableBasis<T> for Stack<B1, B2> where
T: Clone,
B1: EnumerableBasis<T, Value = Features>,
B2: EnumerableBasis<T, Value = Features>,
[src]
T: Clone,
B1: EnumerableBasis<T, Value = Features>,
B2: EnumerableBasis<T, Value = Features>,
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT>
[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]>,