evalml.pipelines.components.SMOTENCSampler.fit

SMOTENCSampler.fit(X, y)[source]

Fits the Oversampler to the data.

Parameters
  • X (pd.DataFrame) – Training features

  • y (pd.Series) – Target features

Returns

self