Enum lfa::projection::Projection [] [src]

pub enum Projection {
    Dense(Vector<f64>),
    Sparse(Vector<usize>),
}

Projected feature vector representation.

Variants

Dense, floating-point activation vector.

Sparse, index-based activation vector.

Methods

impl Projection
[src]

[src]

Compute the l1 normalisation constant of the projection.

[src]

Return the maximum number of active features in the basis space.

Trait Implementations

impl Debug for Projection
[src]

[src]

Formats the value using the given formatter.

impl Clone for Projection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more