-
-
Save hsiaoer/f539145c9c3b759f34cd278165984091 to your computer and use it in GitHub Desktop.
mwitiderrick-intro-to-keras-2
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
feats = [‘policy_state’,’insured_sex’,’insured_education_level’,’insured_occupation’,’insured_hobbies’,’insured_relationship’,’collision_type’,’incident_severity’,’authorities_contacted’,’incident_state’,’incident_city’,’incident_location’,’property_damage’,’police_report_available’,’auto_make’,’auto_model’,’fraud_reported’,’incident_type’] | |
df_final = pd.get_dummies(df,columns=feats,drop_first=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment