validate_data.Rd
Checks whether data dimensions for X and y match.
validate_data(X, y)
A data matrix or data frame.
A response vector.