Relationships Between Dependent and Independent Variables

Learn how to understand and visualize interfeature relationships using a correlation matrix and heatmaps.

Relationships between features and the label

In the previous lesson, we started working on an online retail transaction dataset and performed feature engineering techniques. In this lesson, we’ll build on that by analyzing the wrangled dataset and observing the relationship between the features and the dependent variable (label). This will help us choose a subset of features to optimize the regression model.

First, let's import the necessary libraries and the wrangled dataset.

Get hands-on with 1200+ tech skills courses.