Created
April 14, 2020 16:52
-
-
Save fuwiak/ef5673f88fadff88a509d8813216f360 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
#Correlation with output variable | |
cor_target = abs(cor["Sales"]) | |
#Selecting highly correlated features | |
relevant_features = cor_target[cor_target>0.9] | |
relevant_features # you have columns highly correlated with Sales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment