pub fn weighted_sampling_without_replacement( weights: &[f64], k: usize, seed: Option<u64>, ) -> UtilsResult<Vec<usize>>
Weighted sampling without replacement using systematic sampling