Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

target encoder sklearn example

encoder = TargetEncoder()df['Animal Encoded'] = encoder.fit_transform(df['Animal'], df['Target'])
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #target #encoder #sklearn
ADD COMMENT
Topic
Name
9+8 =