For not balanced datasets, with stratified splitting, the data is divided in such a way that a percentage of each target column value is put in both training and test dataset.
However, the following line of code throws an error if the column 'Label' is Boolean, which is very common for binary classification.
(trainData, testData) = classification.TrainTestSplit(data, testFraction: 0.2, stratificationColumn: "Label");
It would work if the Label column would be float or other types.
I might be missing something, but why is Boolean not supported for the stratificationColumn?
Can we support it since it can be a common scenario for binary classifications?