Session Ready
Exercise

Comparing density plots

The different imputations that you have performed earlier can be graphically compared with their density plots to realize which dataset has the most similar distribution compared to the original dataset. You will also be able to interpret which dataset has a biased imputation.

The DataFrames diabetes_cc, diabetes_mean_imputed, diabetes_knn_imputed and diabetes_mice_imputed have already been loaded for you to use along with matplotlib.pyplot as plt.

Instructions
100 XP
  • Plot a density plot for the 'Skin_Fold' column for each DataFrame.
  • Set the labels using the labels list.
  • Set the label for the x-axis to 'Skin Fold'.