pub fn extract_patterns<T>( history: &[Vec<[T; 3]>], min_length: usize, ) -> Vec<Vec<[T; 3]>>where T: Sum + Float + FromPrimitive,
Extract common patterns from historical sequences