# minakshisharmaa/telecom-churn-case-study architecture

> Architecture diagram of the GitHub repository minakshisharmaa/telecom-churn-case-study, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/minakshisharmaa/telecom-churn-case-study
- Repository: https://github.com/minakshisharmaa/telecom-churn-case-study

## Overview

This repository documents a telecom churn-prediction case study, rather than a reusable application. Its workflow uses four months of customer data: define churn from the final month, select high-value customers, build features from the earlier months, and model churn while handling class imbalance. The README also describes PCA and using models to identify churn indicators. The notebook is the only listed analysis artifact, but its contents were not provided, so these components represent documented stages, not verified notebook implementations or call relationships.

Main entry points: [`telecom-churn-case-study.ipynb`](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb) (Feature engineering), [`README.md`](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/README.md) (Churn definition), [`Data+Dictionary-+Telecom+Churn+Case+Study.xlsx`](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/Data%2BDictionary-%2BTelecom%2BChurn%2BCase%2BStudy.xlsx) (Data dictionary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data and definition"]
  node_customer_data["Customer data"]
  node_churn_definition["Churn definition<br/>[README.md]"]
  node_data_dictionary["Data dictionary"]
end

subgraph group_preparation["Data preparation"]
  node_feature_engineering["Feature engineering"]
  node_high_value_filter["High-value filter"]
  node_churn_labeling["Churn labeling"]
  node_phase_removal["Churn-phase removal"]
end

subgraph group_modeling["Modeling and insights"]
  node_preprocessing["Preprocessing"]
  node_imbalance_handling["Imbalance handling"]
  node_pca["PCA"]
  node_classifier["Churn classifier"]
  node_churn_predictions["Churn predictions"]
  node_churn_indicators["Churn indicators"]
end

node_analyst(("Analyst"))
node_retention_team(("Retention team"))

node_analyst -->|"analyzes"| node_feature_engineering
node_customer_data -->|"provides data"| node_feature_engineering
node_data_dictionary -->|"defines attributes"| node_feature_engineering
node_churn_definition -->|"defines labels"| node_churn_labeling
node_feature_engineering -->|"derive features"| node_high_value_filter
node_high_value_filter -->|"select customers"| node_churn_labeling
node_churn_labeling -->|"remove phase data"| node_phase_removal
node_phase_removal -->|"prepare features"| node_preprocessing
node_preprocessing -->|"handle imbalance"| node_imbalance_handling
node_preprocessing -->|"reduce dimensions"| node_pca
node_pca -->|"classify"| node_classifier
node_classifier -->|"predict churn"| node_churn_predictions
node_classifier -->|"identify indicators"| node_churn_indicators
node_churn_predictions -->|"inform retention"| node_retention_team

click node_churn_definition "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/README.md"
click node_data_dictionary "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/Data%2BDictionary-%2BTelecom%2BChurn%2BCase%2BStudy.xlsx"
click node_feature_engineering "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_high_value_filter "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_churn_labeling "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_phase_removal "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_preprocessing "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_imbalance_handling "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_pca "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_classifier "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_churn_predictions "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"
click node_churn_indicators "https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_customer_data,node_churn_definition,node_data_dictionary toneBlue
class node_feature_engineering,node_high_value_filter,node_churn_labeling,node_phase_removal toneAmber
class node_preprocessing,node_imbalance_handling,node_pca,node_classifier,node_churn_predictions,node_churn_indicators toneMint
class node_analyst,node_retention_team toneIndigo
```

## Components

### Data and definition

- **Customer data**
- [Churn definition](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/README.md): `README.md`
- [Data dictionary](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/Data%2BDictionary-%2BTelecom%2BChurn%2BCase%2BStudy.xlsx): `Data+Dictionary-+Telecom+Churn+Case+Study.xlsx`

### Data preparation

- [Feature engineering](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [High-value filter](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Churn labeling](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Churn-phase removal](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`

### Modeling and insights

- [Preprocessing](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Imbalance handling](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [PCA](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Churn classifier](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Churn predictions](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`
- [Churn indicators](https://github.com/minakshisharmaa/telecom-churn-case-study/blob/main/telecom-churn-case-study.ipynb): `telecom-churn-case-study.ipynb`

### Other components

- **Analyst**
- **Retention team**

## Connections

- Analyst → Feature engineering: analyzes (evidence: `README.md`)
- Customer data → Feature engineering: provides data (evidence: `README.md`)
- Data dictionary → Feature engineering: defines attributes (evidence: `README.md`)
- Churn definition → Churn labeling: defines labels (evidence: `README.md`)
- Feature engineering → High-value filter: derive features (evidence: `README.md`)
- High-value filter → Churn labeling: select customers (evidence: `README.md`)
- Churn labeling → Churn-phase removal: remove phase data (evidence: `README.md`)
- Churn-phase removal → Preprocessing: prepare features (evidence: `README.md`)
- Preprocessing → Imbalance handling: handle imbalance (evidence: `README.md`)
- Preprocessing → PCA: reduce dimensions (evidence: `README.md`)
- PCA → Churn classifier: classify (evidence: `README.md`)
- Churn classifier → Churn predictions: predict churn (evidence: `README.md`)
- Churn classifier → Churn indicators: identify indicators (evidence: `README.md`)
- Churn predictions → Retention team: inform retention (evidence: `README.md`)
