Created
July 30, 2019 22:38
-
-
Save kperry2215/a38d7c3db751525a6143ea42c246ce21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#Obtain feature importances in the model | |
feature_importances = pd.DataFrame(rf.feature_importances_, | |
index = feature_list, | |
columns=['importance']).sort_values('importance', | |
ascending=False) | |
print(feature_importances) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment