pub fn validate_supervised_data<T, U>( x: &Array2<T>, y: &Array1<U>, ) -> Result<()>
Validate data shapes for supervised learning