pub fn classify<A>(sample: &Sample<A>) -> LabeledSample<'_, A>where
    A: Float,
    usize: From<A, Output = Result<usize, Error>>,
Expand description

Classifies the sample, and returns a labeled sample.

  • Time: O(N log N) where N = length