Struct lfa::projection::TileCoding
[−]
[src]
pub struct TileCoding<H: BuildHasher> { /* fields omitted */ }
Generalised tile coding scheme with hashing.
Methods
impl<H: BuildHasher> TileCoding<H>
[src]
Trait Implementations
impl<H: Clone + BuildHasher> Clone for TileCoding<H>
[src]
fn clone(&self) -> TileCoding<H>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<H: BuildHasher> Projector<[f64]> for TileCoding<H>
[src]
fn project(&self, input: &[f64]) -> Projection
[src]
Project data from an input space onto the basis.
fn dim(&self) -> usize
[src]
Return the number of dimensions in the basis space.
fn size(&self) -> usize
[src]
Return the number of features in the basis space.
fn activity(&self) -> usize
[src]
Return the maximum number of active features in the basis space.
fn equivalent(&self, other: &Self) -> bool
[src]
Check for equivalence with another projector of the same type.
fn project_expanded(&self, input: &I) -> Vector<f64>
[src]
Project data from an input space onto the basis and convert into a raw, dense vector. Read more
fn expand_projection(&self, projection: Projection) -> Vector<f64>
[src]
Expand and normalise a given projection, and convert into a raw, dense vector. Read more