-
-
Save letthedataconfess/80d1f2db544334f19394bd3c1b9fb354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import category_encoders as ce | |
ce.TargetEncoder(smoothing=0).fit_transform(df.Age,df.Survived) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment