Validates that the input data adheres to the expected format for modelling.

validate(df, supervised = TRUE, force, hyperparameters)

Arguments

df

data.frame, the data to validate

supervised

logical, TRUE for supervised learning, FALSE for k-clusters

force

logical, TRUE to ignore error on categorical columns

hyperparameters

list of hyperparameters used in the model

Value

`TRUE` if all checks are passed. Otherwise an error is raised.