evalml.preprocessing.BalancedClassificationDataCVSplit.split

BalancedClassificationDataCVSplit.split(X, y)

Splits and returns the indices of the training and testing using the data sampler provided. :param X: DataTable of points to split :type X: ww.DataTable :param y: DataColumn of points to split :type y: ww.DataTable

Returns

A tuple containing the resulting train and test indices, post sampling.

Return type

tuple(train, test)