Validates that the input data adheres to the expected format for modelling.
validate(df, supervised = TRUE, force, hyperparameters)
data.frame, the data to validate
logical, TRUE for supervised learning, FALSE for k-clusters
logical, TRUE to ignore error on categorical columns
list of hyperparameters used in the model
`TRUE` if all checks are passed. Otherwise an error is raised.