pub fn validate_input_dimensions( x: &Array2<Float>, y: &Array1<Float>, ) -> Result<()>
Validate input dimensions for kernel ridge regression