Skip to content

gshashank84/ResponseEncoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ResponseEncoding

Encode Categorical Features based on Target/Class

Example:

> re = ResponseEncoder()
> re.fit(X_train[feature],y_train)
> encoded_feature= re.transform(X_test[feature])