Last active
June 10, 2022 08:45
-
-
Save Paulescu/9e68970d37a1edab963924edf5622669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FEATURES_TO_MODEL = OrderedDict({ | |
# raw features | |
'gender': 'string', | |
'SeniorCitizen': 'string', | |
'Partner': 'string', | |
'Dependents': 'string', | |
'tenure': 'string', | |
'PhoneService': 'string', | |
'MultipleLines': 'string', | |
'InternetService': 'string', | |
'PaymentMethod': 'string', | |
'MonthlyCharges': 'numeric', | |
'TotalCharges': 'numeric', | |
'activity': 'string', | |
# engineered features | |
'dayOfWeek': 'numeric', | |
'month': 'numeric', | |
'dayOfMonth': 'numeric', | |
'hour': 'numeric', | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment