1. Learn
  2. /
  3. Courses
  4. /
  5. Anomaly Detection in Python

Exercise

Boxplots for outlier detection

In this exercise, you will get a feel of what the US Airbnb Listings prices data looks like using boxplots. This will enable you to assess the range of the distribution where inliers lie. You will also get a sense of custom versus default parameters for setting whisker lengths to classify outliers.

matplotlib.pyplot has been loaded as plt and the data is available as prices.

Instructions 1/2

undefined XP
    1
    2
  • Create a boxplot of the prices distribution.