Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 200 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 200 Bytes

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])