← Back to Projects

Netflix Customer Churn Analysis

MSIS 510: Data Analytics · University of Washington · December 2025

Team: Alysia Tran, Trevor Rubino, Yousef AlSadhan, Shraddha Mahangare

Python Logistic Regression Random Forest K-Means Clustering Google Colab Predictive Modeling

Overview

Netflix faces rising competition and needs a proactive, data-driven approach to reduce subscriber churn. This project analyzed 5,000 Netflix user records across 14 variables to identify high-risk subscribers, uncover churn patterns, and build predictive models that enable targeted retention strategies.

Objectives

Dataset

AttributeDetails
SourceNetflix User Data from Kaggle
Records5,000 rows
Variables14 columns
Key Featuresage, gender, subscription_type, watch_hours, last_login_days, region, device, monthly_fee, payment_method, number_of_profiles, avg_watch_time_per_day, favorite_genre
Target Variablechurned (1/0)
Data QualityNo missing values, no duplicates

Exploratory Analysis

Subscription Type vs. Churn Rate

Subscription TierChurn Rate
Basic61.83%
Standard45.44%
Premium43.71%

Basic-tier subscribers churn at significantly higher rates — nearly 20 percentage points above Premium.

Churn vs. Payment Method

Gift card users had the highest churn rate, while debit and credit card users had the lowest. This suggests that recurring payment methods correlate with higher retention.

Churn vs. Last Login

Churned customers averaged 40 days since last login, compared to 20 days for non-churned users — a clear signal that login recency is a strong churn predictor.

Key Finding

Age and gender were not significant predictors of churn. Behavioral features (watch hours, login recency, number of profiles) were far more predictive than demographic variables.

Feature Selection

Used the Logit function (statsmodels) to identify statistically significant features:

Age was dropped as it was not statistically significant (p = 0.692).

Predictive Modeling

Split data 75/25 into training and test sets. Compared two models:

Model Comparison

MetricLogistic RegressionRandom Forest
Overall Accuracy89.12%94.32%
Recall (TP/TP+FN)0.92680.9379
Precision (TP/TP+FP)0.88180.9484
F1 Score0.94170.9432
ROC AUC0.96070.9920

Baseline model accuracy was 0.5024. Both models significantly outperform the baseline, with Random Forest achieving the highest predictive accuracy at 94.32%.

Random Forest Confusion Matrix

Predicted: No ChurnPredicted: Churn
Actual: No Churn590 (TN)32 (FP)
Actual: Churn39 (FN)589 (TP)

K-Means Clustering

Applied K-Means (k=3) to segment subscribers by monthly fee and watch hours:

ClusterProfileWatch HoursChurn Rate
Cluster 0Casual users at risk~25 hrs42%
Cluster 1Inactive customers~12 hrs90%
Cluster 2Highly engaged~59 hrs9%

Cluster 1 (inactive) represents the highest-risk segment with 90% churn — the primary target for retention interventions.

Business Recommendations

Challenges & Limitations

Reflection

This project demonstrated the power of combining predictive modeling with customer segmentation to drive actionable retention strategies. Random Forest's 94.32% accuracy and the K-Means clustering revealed that behavioral signals (watch time, login recency) are far more predictive of churn than demographics — a finding with direct implications for how streaming platforms should prioritize their retention investments.