pub fn validate_finite_values( arr: &Array2<f64>, ) -> Result<(), SklearsPythonError>
Validate that array contains only finite values