validate {citrus} | R Documentation |
Validation function
Description
Validates that the input data adheres to the expected format for modelling.
Usage
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.
[Package citrus version 1.0.2 Index]