This analysis aims to address the challenges faced by a leading broadband provider in optimizing lead conversion processes. The goal is to:
-
Optimize the Lead Funnel:
- Segment customers to identify high-conversion leads.
- Allocate marketing budgets efficiently.
- Prioritize high-potential leads for follow-ups.
-
Develop a Predictive Model:
- Identify features impacting lead conversions.
- Build models to predict lead installation success.
- Handled missing values in critical columns like
days_to_accept
anddays_to_install_request
. - Renamed columns for better readability.
- Applied encoding (One-Hot and Label Encoding) for categorical variables.
- Balanced the target variable using SMOTE to handle class imbalance.
- Visualized data distributions using histograms and countplots.
- Analyzed correlations between numerical variables and the target using heatmaps.
- Highlighted insights like key metrics (
marketing_spend_inr
,days_to_qualify
) that influence conversions.
-
Built and compared multiple models:
- Random Forest for robust feature importance.
- XGBoost for handling complex patterns.
- Voting Classifier to combine strengths of multiple models.
-
Evaluated models using:
- Classification Reports for precision, recall, and F1-score.
- ROC-AUC Score to assess overall performance.
- Confusion Matrices for understanding true/false positives and negatives.
- Identified top features like
days_to_install_request
andmarketing_spend_inr
. - Provided actionable strategies to prioritize resources and improve marketing efficiency.
- Libraries:
pandas
,numpy
,seaborn
,matplotlib
,scikit-learn
,XGBoost
,imblearn
.
- Missing value imputation.
- Encoding categorical variables.
- Balancing classes with SMOTE.
- Heatmaps, countplots, histograms, and barplots.
- Random Forest, XGBoost, and Voting Classifier.
-
Data Cleaning and EDA:
- Insights into lead behaviors and operational metrics.
-
Feature Importance Analysis:
- Identification of critical predictors for conversions.
-
Predictive Model Performance:
- Models evaluated on precision, recall, and ROC-AUC score.
-
Actionable Recommendations:
- Strategies for improving lead prioritization and marketing efficiency.