pub fn check_memory_usage( x: &Array2<f64>, y: &Array1<f64>, ) -> Result<(), SklearsPythonError>
Check memory usage and warn if arrays are very large