This pull request enhances hierarchies in Target Encoders.
Author: @nercisla
Current status: Work in Progress
Proposed Changes
Allows a user to submit a hierarchy within a dataframe (i.e. columnwise), not just a mapping dictionary.
Columns must take the names HIER_colA_1, HIER_colA_2, HIER_colA_3, HIER_colB_1, HIER_colB_2. HIER_colC_1 etc where the last digit represents the level of hierarchy (top =1)
This pull request enhances hierarchies in Target Encoders.
Author: @nercisla Current status: Work in Progress
Proposed Changes
Allows a user to submit a hierarchy within a dataframe (i.e. columnwise), not just a mapping dictionary. Columns must take the names HIER_colA_1, HIER_colA_2, HIER_colA_3, HIER_colB_1, HIER_colB_2. HIER_colC_1 etc where the last digit represents the level of hierarchy (top =1)