[英]Seaborn heatmap with 48 variables
I have a dataset for which I have filtered down my the possible attributes to be used for model building , they are still coming out to be 48 variables.我有一个数据集,我已经过滤掉了用于模型构建的可能属性,它们仍然是 48 个变量。 When I try to draw a corelation map using seaborn heatmap , the values are overwritten and not clear.当我尝试使用 seaborn heatmap 绘制相关图时,这些值被覆盖且不清楚。
Code used使用的代码
cor = train[cols].corr()
#fig,ax = plt.subplots()
sns.heatmap(cor,annot=True)
plt.show()
How can I make this readable ,have tried figsize but still not working.我怎样才能使这个可读,已经尝试了 figsize 但仍然无法正常工作。 I am using Pycharm我正在使用 Pycharm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.