[][src]Trait lfa::core::Embedding

pub trait Embedding<I: ?Sized> {
    fn n_features(&self) -> usize;
fn embed(&self, input: &I) -> Features; }

Required methods

fn n_features(&self) -> usize

Return the number of features in the embedded representation.

fn embed(&self, input: &I) -> Features

Embed the input I in the form of a Features vector.

Loading content...

Implementors

impl<I: ?Sized, P, E> Embedding<I> for LFA<P, E> where
    P: Projector<I>, 
[src]

impl<I: ?Sized, P, E, T> Embedding<I> for TransformedLFA<P, E, T> where
    P: Projector<I>, 
[src]

Loading content...