evalml.pipelines.components.SMOTESampler.fit

SMOTESampler.fit(X, y)

Fits the Oversampler to the data.

Parameters
  • X (pd.DataFrame) – Training features

  • y (pd.Series) – Target features

Returns

self