evalml.pipelines.components.TargetEncoder.fit_transform

TargetEncoder.fit_transform(X, y)[source]

Fits on X and transforms X

Parameters
  • X (pd.DataFrame) – Data to fit and transform

  • y (pd.Series) – Target data

Returns

Transformed X

Return type

pd.DataFrame