Challenge: Outlier Detection Using MAD Rule
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:
- Fill in all gaps in 
mad()function to calculate Mean Absolute Deviation. - Calculate the threshold using value 
3as a threshold value. - Specify the rule to detect outliers that will be stored in the 
outliersvariable. 
Lösung
Danke für Ihr Feedback!
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Zusammenfassen Sie dieses Kapitel
Code in file erklären
Erklären, warum file die Aufgabe nicht löst
Awesome!
Completion rate improved to 6.67
Challenge: Outlier Detection Using MAD Rule
Swipe um das Menü anzuzeigen
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:
- Fill in all gaps in 
mad()function to calculate Mean Absolute Deviation. - Calculate the threshold using value 
3as a threshold value. - Specify the rule to detect outliers that will be stored in the 
outliersvariable. 
Lösung
Danke für Ihr Feedback!
single