pub fn validate<S: Scalar>( params: &ValidationParameters<S>, model: &Model<S>, ) -> Result<(), Vec<GeopError>>