Marketing Campaign Response Prediction
This project analyzes and models customer responses to marketing campaigns using machine learning techniques. By leveraging classification algorithms, the system identifies key factors influencing customer behavior and helps optimize campaign targeting.
Features: π Predictive Modeling: Logistic Regression, Decision Tree, and Random Forest classifiers.
π§Ή Data Preprocessing: Feature encoding, normalization, missing value handling.
π§ Model Evaluation: Confusion matrix, classification report, ROC AUC.
π Visualization: Feature importance, performance metrics, and comparison plots.
π€ Business Insight: Identifies high-value customer segments to enhance marketing ROI.
Tech Stack: Programming Language: Python
Libraries & Tools:
pandas, numpy β data handling
scikit-learn β ML modeling
matplotlib, seaborn β visualizations
Jupyter Notebook β development environment
Project Structure: marketing-ml/ β βββ marketingAttributes.py # Core script for preprocessing and model building βββ 7.3. Code Example.ipynb # Notebook with step-by-step implementation βββ data/ β βββ marketing_data.csv # (Sample) Input dataset βββ outputs/ β βββ plots/ # Model and metrics visualizations βββ README.md # Project documentation
Model Performance
| Model | Accuracy | Precision | Recall | ROC-AUC |
|---|---|---|---|---|
| Logistic Regression | 82% | 0.81 | 0.79 | 0.85 |
| Decision Tree | 86% | 0.84 | 0.83 | 0.88 |
| Random Forest | 90% | 0.89 | 0.87 | 0.92 |
How to Run: 1.Clone the repository:git clone https://github.com/Thevishal-kumar/Marketing-Attribute.git cd marketing-ml
2.Install dependencies: pip install -r requirements.txt
3.Run the notebook or Python script: jupyter notebook 7.3. Code Example.ipynb
python marketingAttributes.py
Impact: Improved customer targeting by identifying conversion-driving attributes.
Enhanced campaign effectiveness and reduced customer acquisition cost.
Demonstrated a full end-to-end ML pipeline for marketing decision support.