evalml.preprocessing.BalancedClassificationDataTVSplit.transform_sample

BalancedClassificationDataTVSplit.transform_sample(X, y)

Transforms the input data with the balancing strategy. :param X: DataTable of points to split :type X: ww.DataTable :param y: DataColumn of points to split :type y: ww.DataTable

Returns

List of indices to keep

Return type

list