Challenge - 5 Problems
Outlier Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Understanding the effect of outliers on mean and median
Consider a dataset with values: [10, 12, 14, 15, 100]. Which statement best describes the effect of the outlier (100) on the mean and median?
Attempts:
2 left
❓ Predict Output
intermediate2:00remaining
Detecting outliers using the IQR method
What is the output of the following Python code that detects outliers using the interquartile range (IQR)?
ML Python
import numpy as np data = np.array([5, 7, 8, 12, 15, 18, 22, 100]) Q1 = np.percentile(data, 25) Q3 = np.percentile(data, 75) IQR = Q3 - Q1 outliers = data[(data < Q1 - 1.5 * IQR) | (data > Q3 + 1.5 * IQR)] print(outliers.tolist())
Attempts:
2 left
❓ Model Choice
advanced2:00remaining
Choosing a model robust to outliers
You have a dataset with many outliers. Which regression model is best suited to minimize the effect of outliers on predictions?
Attempts:
2 left
❓ Hyperparameter
advanced2:00remaining
Adjusting hyperparameters to handle outliers in clustering
When using DBSCAN clustering on data with noise and outliers, which hyperparameter adjustment helps to better identify outliers as noise points?
Attempts:
2 left
❓ Metrics
expert2:30remaining
Evaluating model performance with imbalanced data and outliers
You have a classification dataset with imbalanced classes and some outliers. Which metric is most reliable to evaluate model performance in this scenario?
Attempts:
2 left