pub fn extract_data<X, Y>(
    features: Vec<Vec<X>>,
    labels: Vec<Y>
) -> (Array2<X>, Array1<Y>)
Expand description

Transforms a given vector of extracted features and a vector of labels into a tuple of 2D feature array and 1D label array.