evalml.pipelines.components.TargetEncoder.transform

TargetEncoder.transform(X, y=None)[source]

Transforms data X.

Parameters
  • X (ww.DataTable, pd.DataFrame) – Data to transform.

  • y (ww.DataColumn, pd.Series, optional) – Target data.

Returns

Transformed X

Return type

ww.DataTable