Skip to content

Instantly share code, notes, and snippets.

@gvyshnya
Created April 19, 2021 22:11
Show Gist options
  • Save gvyshnya/fee3bdd6bae93fbd15612b3c4065b839 to your computer and use it in GitHub Desktop.
Save gvyshnya/fee3bdd6bae93fbd15612b3c4065b839 to your computer and use it in GitHub Desktop.
Adding log transformed features using featurewiz
###### log transform these columns ##########
log_cols = {'cont5':'log', 'cont8':'log', 'cont7':'log'}
train_copy = FW.FE_transform_numeric_columns(train_copy, log_cols)
test_copy = FW.FE_transform_numeric_columns(test_copy, log_cols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment