validate: Validation function

View source: R/validate.R

validateR 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.


citrus documentation built on June 17, 2022, 5:06 p.m.