March 2020
Beginner to intermediate
352 pages
8h 40m
English
Let's perform the multivariate analysis with the combined dataset. We are going to use the same heatmap diagram to perform multivariate analysis:
fig, (ax) = plt.subplots(1, 1, figsize=(14,8))
hm = sns.heatmap(df_wines.corr(), ax=ax, cmap="bwr", annot=True, fmt='.2f', linewidths=.05)
fig.subplots_adjust(top=0.93)fig.suptitle('Combined Wine Attributes and their Correlation Heatmap', fontsize=14, fontweight='bold')
The output of the preceding code is given as follows:
Read now
Unlock full access