Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Outlier Detection Using MAD Rule | Statistical Methods in Anomaly Detection
Data Anomaly Detection
course content

Course Content

Data Anomaly Detection

Data Anomaly Detection

1. What is Anomaly Detection?
2. Statistical Methods in Anomaly Detection
3. Machine Learning Techniques

bookChallenge: Outlier Detection Using MAD Rule

Task
test

Swipe to show code editor

Now, you will use the MAD rule to detect outliers in the California Housing Dataset. It contains various features related to housing characteristics in different districts in California.

In this task, we will detect outliers in the column MedInc, which stands for Median Income.

Your task is to:

  1. Fill in all gaps in mad() function to calculate Mean Absolute Deviation.
  2. Calculate the threshold using value 3 as a threshold value.
  3. Specify the rule to detect outliers that will be stored in the outliers variable.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 6
toggle bottom row

bookChallenge: Outlier Detection Using MAD Rule

Task
test

Swipe to show code editor

Now, you will use the MAD rule to detect outliers in the California Housing Dataset. It contains various features related to housing characteristics in different districts in California.

In this task, we will detect outliers in the column MedInc, which stands for Median Income.

Your task is to:

  1. Fill in all gaps in mad() function to calculate Mean Absolute Deviation.
  2. Calculate the threshold using value 3 as a threshold value.
  3. Specify the rule to detect outliers that will be stored in the outliers variable.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 6
toggle bottom row

bookChallenge: Outlier Detection Using MAD Rule

Task
test

Swipe to show code editor

Now, you will use the MAD rule to detect outliers in the California Housing Dataset. It contains various features related to housing characteristics in different districts in California.

In this task, we will detect outliers in the column MedInc, which stands for Median Income.

Your task is to:

  1. Fill in all gaps in mad() function to calculate Mean Absolute Deviation.
  2. Calculate the threshold using value 3 as a threshold value.
  3. Specify the rule to detect outliers that will be stored in the outliers variable.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

Now, you will use the MAD rule to detect outliers in the California Housing Dataset. It contains various features related to housing characteristics in different districts in California.

In this task, we will detect outliers in the column MedInc, which stands for Median Income.

Your task is to:

  1. Fill in all gaps in mad() function to calculate Mean Absolute Deviation.
  2. Calculate the threshold using value 3 as a threshold value.
  3. Specify the rule to detect outliers that will be stored in the outliers variable.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 6
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt