Last active
April 14, 2020 16:58
-
-
Save fuwiak/7cf5182cd4f66586d5a3cc717cfbf7cc 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_list = list(map(np.abs, cor_target)) | |
score=[] | |
for target in cor_target: | |
#Selecting highly correlated features | |
relevant_features = cor_target[target>0.9] | |
score.append((target, relevant_features )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment