October 2018
Intermediate to advanced
134 pages
2h 39m
English
We will now look at a scatterplot matrix, to see the relationships between some of these variables. A scatterplot matrix is a very useful function to use, because it can tell us whether a linear classifier will be a good classifier for our data, or whether we have to investigate more complicated methods.
We will add a scatter_matrix method and adjust the size to figsize(18, 18), to make it easier to see.
The output, as shown in the following screenshot, indicates the relationship between each variable and every other variable:

All of the variables are listed on both the x and the y axes. Where they intersect, ...
Read now
Unlock full access