Learn Before
Idea

sns.heatmap()

Heatmap is a very useful function if you want to see the correlation among the features. You can directly have an idea about the relationship from the figure in both value (annot = True) and color.

From the example of the iris dataset, we can see that there is strong positive correlation among petal width, petal length and sepal length.

Image 0

0

1

Updated 2021-02-05

Tags

Data Science