pub fn extract_batch( data: &ArrayView<'_, f64, Ix2>, indices: &[usize], ) -> TrainResult<Array<f64, Ix2>>
Extract batches from data arrays.