0
0
Digital Marketingknowledge~20 mins

Churn prediction and prevention in Digital Marketing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Churn Prediction Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Churn Prediction Models

Which of the following best describes the main goal of a churn prediction model in digital marketing?

ATo increase the total number of customers regardless of retention
BTo segment customers based on their purchase frequency only
CTo identify customers who are likely to stop using a service soon
DTo predict the exact date when a customer will make their next purchase
Attempts:
2 left
💡 Hint

Think about what 'churn' means in customer behavior.

Model Choice
intermediate
2:00remaining
Choosing a Model for Churn Prediction

You have a dataset with customer demographics, usage patterns, and past churn labels. Which model is most suitable for predicting churn?

APrincipal Component Analysis (PCA)
BLogistic Regression
CK-Means Clustering
DLinear Regression
Attempts:
2 left
💡 Hint

Churn prediction is a yes/no problem.

Metrics
advanced
2:00remaining
Evaluating Churn Prediction Performance

Which metric is most important when you want to minimize false negatives (missing customers who will churn) in a churn prediction model?

ARecall
BPrecision
CAccuracy
DF1 Score
Attempts:
2 left
💡 Hint

False negatives mean churners predicted as non-churners.

🔍 Analysis
advanced
2:00remaining
Debugging a Churn Prediction Code Snippet

What error will this Python code raise when training a churn prediction model?

from sklearn.linear_model import LogisticRegression
X = [[1, 2], [3, 4]]
y = [0, 1, 0]
model = LogisticRegression()
model.fit(X, y)
AValueError: Found input variables with inconsistent numbers of samples
BTypeError: 'int' object is not iterable
CNameError: name 'LogisticRegression' is not defined
DNo error, model trains successfully
Attempts:
2 left
💡 Hint

Check if the number of samples in X and y match.

Hyperparameter
expert
3:00remaining
Optimizing Hyperparameters for Churn Prediction

You are tuning a Random Forest model for churn prediction. Which hyperparameter adjustment is most likely to reduce overfitting?

AIncrease the number of trees (n_estimators)
BIncrease the minimum samples per leaf (min_samples_leaf)
CSet bootstrap to False
DDecrease the maximum depth of each tree (max_depth)
Attempts:
2 left
💡 Hint

Overfitting happens when trees are too complex.