evalml.pipelines.components.Undersampler.fit

Undersampler.fit(X, y)

Resample the data using the sampler. Since our sampler doesn’t need to be fit, we do nothing here.

Parameters
  • X (pd.DataFrame) – Training features

  • y (pd.Series) – Target features

Returns

self