Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
train_gender_encoded, validate_gender_encoded, test_gender_encoded = transform_data(train_gender,
validate_gender,
impute_gender,
'gender',
{
'type' : { 'BinaryEncoding' : ['city','branch_code','age_bucket'],
'OneHotEncoding' : ['occupation','dependents']
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.