TransmogrifAI
TransmogrifAI copied to clipboard
Validator does not check for number of label classes and number of rows for each split
Describe the bug
None of the implementations of OpValidator.createTrainValidationSplits
does not check that:
- number of label classes is at least 2
- splits are not empty
To Reproduce
Run OpCrossValidation
or OpTrainValidationSplit
of data with a single row.
Expected behavior Validate that number of label classes if at least 2 and splits are not empty. Throw a clean and informative error in each of the cases.