Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Rule-based Approach | Statistical Methods in Anomaly Detection
course content

Course Content

Data Anomaly Detection

Challenge: Rule-based ApproachChallenge: Rule-based Approach

Task

Your task is to create a function that identifies outliers based on the Euclidean distance between each data point and the mean value of the dataset:

  1. Calculate the Euclidean distance for each data point in the dataset.
  2. If the calculated distance of a data point falls outside a predefined range, classify it as an outlier.
  3. Create a list to store the identified outliers and print the list.

Once you've completed this task, click the button below the code to check your solution.

Everything was clear?

Section 2. Chapter 2
toggle bottom row
course content

Course Content

Data Anomaly Detection

Challenge: Rule-based ApproachChallenge: Rule-based Approach

Task

Your task is to create a function that identifies outliers based on the Euclidean distance between each data point and the mean value of the dataset:

  1. Calculate the Euclidean distance for each data point in the dataset.
  2. If the calculated distance of a data point falls outside a predefined range, classify it as an outlier.
  3. Create a list to store the identified outliers and print the list.

Once you've completed this task, click the button below the code to check your solution.

Everything was clear?

Section 2. Chapter 2
toggle bottom row
some-alt