8000
ENH Add
ENH Add pos_label
parameter to TargetEncoder
#27342
Labels
Describe the workflow you want to enable
Add a
pos_label
parameter toTargetEncoder
to enable the user to specify which label should be the positive class when the target is binary.Describe your proposed solution
Add a
pos_label
parameter that is passed to theLabelBinarizer
pos_label
parameter.Describe alternatives you've considered, if relevant
No response
Additional context
Ref: #26674 (comment)
cc @ogrisel
The text was updated successfully, but these errors were encountered: