Skip to main content

extract_features

Function extract_features 

Source
pub fn extract_features(
    buf: &mut FeatureBuffer,
    config: &SeqFeatureConfig,
    observations: &[&str],
    i: usize,
    labels: &[&str],
)
Expand description

Extract AP features into buf for position i.

labels are the predicted labels so far (from the left-to-right pass). Label features use negative positions to look back at previous labels.