Skip to content

Instantly share code, notes, and snippets.

@Paulescu
Last active June 10, 2022 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Paulescu/9e68970d37a1edab963924edf5622669 to your computer and use it in GitHub Desktop.
Save Paulescu/9e68970d37a1edab963924edf5622669 to your computer and use it in GitHub Desktop.
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