pub fn sample_entropy(binary_train: &[i32], m: usize, r_factor: f64) -> f64
Sample entropy (SampEn). Richman & Moorman 2000.