1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Anomaly Detection in R

Exercise

Thyroid data

In this chapter, you'll explore a new data set called thyroid. These data contain examples of thyroid hormone measurements for 1000 patients, and a column called label indicating the presence of thyroid disease. It is expected that unusual hormone measurements can be used to detect disease.

The overall goal is to determine whether an anomaly score based on hormone measurements could be used to detect thyroid disease. In this exercise, you'll use plotting techniques to visually assess the distribution of thyroid disease.

Instructions 1/2

undefined XP
    1
    2
  • Use the table() function to tabulate the contents of the label column.