Created
February 28, 2022 14:22
-
-
Save AI-MOO/e1d7832aa250410e8b6a4b783791b27d 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
# تصوير على هيئة خريطة حرارية لتمثيل العلاقة الترابطية بين الميزات | |
corr_matrix = df.corr() | |
fig, ax = plt.subplots(figsize=(15, 15)) | |
ax = sns.heatmap(corr_matrix, | |
annot=True, | |
linewidths=0.5, | |
fmt=".2f", | |
cmap="YlGnBu"); | |
bottom, top = ax.get_ylim() | |
ax.set_ylim(bottom + 0.5, top - 0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment