Created
December 30, 2019 08:35
-
-
Save notha99y/95262579cef696f6c523e3570ebb7af3 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
plt.figure(figsize=(14,12)) | |
plt.title('Pearson Correlation of Features', size = 15) | |
colormap = sns.diverging_palette(10, 220, as_cmap = True) | |
sns.heatmap(corr_df.corr(), | |
cmap = colormap, | |
square = True, | |
annot = True, | |
linewidths=0.1,vmax=1.0, linecolor='white', | |
annot_kws={'fontsize':12 }) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment