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

Swipe to show menu

book
Challenge: Outlier Detection Using MAD Rule

Task

Swipe to start coding

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.

Solution

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

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Challenge: Outlier Detection Using MAD Rule

Task

Swipe to start coding

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.

Solution

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
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