Created
January 8, 2020 13:13
-
-
Save cereniyim/2369a1b9cd7c66b01a6003c10fc6e733 to your computer and use it in GitHub Desktop.
plot correlations heatmap
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
figsize=(16,14) | |
# plot the heatmap | |
colormap = plt.cm.RdBu | |
sns.heatmap(correlations,linewidths=0.1, | |
square=False, cmap=colormap, linecolor='white', annot=True) | |
plt.title('Pearson Correlation of Features with Numeric Soil_Type', size=14) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment