Course Content
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Deep Dive into the seaborn Visualization
Clustermap
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/deep+dive/d15.png)
A clustermap
is a matrix plot with a heatmap and two clustering dendrograms (learn more: Machine Learning).
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/7.gif?w=3840&q=75)
Task
- Create the
clustermap
using theseaborn
library:
- Add the data for the
clustermap
. Input only the name of the DataFrame; - Set the
'vlag'
cmap
; - Set the
standard_scale
parameter equals1
; - Set the
'single'
method
parameter; - Set the
'correlation'
metric
parameter; - Add the
annot
; - Set the
vmin
parameter equals0
andvmax
parameter equals10
; - Display the plot.
Everything was clear?
Section 4. Chapter 2
Course Content
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Deep Dive into the seaborn Visualization
Clustermap
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/deep+dive/d15.png)
A clustermap
is a matrix plot with a heatmap and two clustering dendrograms (learn more: Machine Learning).
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/clustermap+gif/7.gif?w=3840&q=75)
Task
- Create the
clustermap
using theseaborn
library:
- Add the data for the
clustermap
. Input only the name of the DataFrame; - Set the
'vlag'
cmap
; - Set the
standard_scale
parameter equals1
; - Set the
'single'
method
parameter; - Set the
'correlation'
metric
parameter; - Add the
annot
; - Set the
vmin
parameter equals0
andvmax
parameter equals10
; - Display the plot.
Everything was clear?
Section 4. Chapter 2