evalml.preprocessing.SMOTENCCVSplit.split

SMOTENCCVSplit.split(X, y)

Splits and returns the sampled training data using the data sampler provided.

Parameters
  • X (ww.DataTable) – DataTable of points to split

  • y (ww.DataTable) – DataColumn of points to split

Returns

A tuple containing the resulting ((X_train, y_train), (X_test, y_test)) post-transformation.

Return type

tuple((pd.DataFrame, pd.Series), (pd.DataFrame, pd.Series))