pub fn filter_data<F>(
data_a: &ArrayView2<'_, f64>,
data_b: &ArrayView2<'_, f64>,
predicate: F
) -> Result<(Array2<f64>, Array2<f64>), Error>where
F: Fn(&ArrayView1<'_, f64>, &ArrayView1<'_, f64>) -> bool + Sync,
Expand description
Splits a dataset consiting of two arrays according to a row-wise criteria