evalml.pipelines.components.Undersampler.fit_transform

Undersampler.fit_transform(X, y)[source]

Fit and transform the data using the undersampler. Used during training of the pipeline

Parameters
  • X (pd.DataFrame) – Training features

  • y – Target features