Target Encode
Last updated
Last updated
Encode a categorical column with the average value of a target column for the corresponding value of the categorical column.
See scikit-learn's TargetEncoder for full documentation.
Name | Type | Description | Is Optional |
---|---|---|---|
column | column | Column name to target encode | |
target | column | Numeric target column to use to create averages |