Skip to main content

bootstrap_sample

Function bootstrap_sample 

Source
pub fn bootstrap_sample(data: &Array2<f64>, n_samples: usize) -> Array2<f64>
Expand description

Randomly sample rows from a 2D array (with replacement)