TransmogrifAI icon indicating copy to clipboard operation
TransmogrifAI copied to clipboard

Validator does not check for number of label classes and number of rows for each split

Open tovbinm opened this issue 5 years ago • 0 comments

Describe the bug None of the implementations of OpValidator.createTrainValidationSplits does not check that:

  1. number of label classes is at least 2
  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.

tovbinm avatar Oct 22 '18 23:10 tovbinm