# rakshitanaik2006/mlops_telecom_customerchurnpredicition architecture

> Architecture diagram of the GitHub repository rakshitanaik2006/mlops_telecom_customerchurnpredicition, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition
- Repository: https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition

## Overview

This repository contains a small churn-data workflow: the CLI loads a CSV and passes it to preprocessing, which removes duplicates, splits features and labels, transforms columns, and resamples the training set. The README describes a larger train/evaluate/predict pipeline, model registry, and REST/web serving, but the sampled model-stage modules are empty and the API path is absent from the file tree, so those capabilities are not represented as implemented components. The graph reflects only shown calls and documented dataset location; no persistence of preprocessing results is shown.

Main entry points: [`main.py`](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/main.py) (CLI workflow), [`src/model_building.py`](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_building.py) (Model building), [`src/data_ingestion.py`](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/data_ingestion.py) (CSV ingestion), [`data/raw/churn - churn.csv`](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/data/raw/churn%20-%20churn.csv) (Churn CSV)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Workflow entry"]
  node_cli["CLI workflow<br/>[main.py]"]
end

subgraph group_data["Churn data"]
  node_rawdata[("Churn CSV<br/>[churn - churn.csv]")]
  node_ingest["CSV ingestion<br/>[data_ingestion.py]"]
end

subgraph group_ml["ML preparation"]
  node_preprocess["Data preprocessing"]
  node_building["Model building<br/>[model_building.py]"]
  node_evaluation["Model evaluation"]
  node_prediction["Model prediction"]
end

node_operator(("Pipeline operator"))

node_operator -->|"runs"| node_cli
node_cli -->|"calls"| node_ingest
node_ingest -.->|"reads CSV"| node_rawdata
node_cli -->|"passes data"| node_preprocess
node_building -.-> node_evaluation
node_building -.-> node_prediction

click node_cli "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/main.py"
click node_rawdata "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/data/raw/churn%20-%20churn.csv"
click node_ingest "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/data_ingestion.py"
click node_preprocess "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/data_preprocessing.py"
click node_building "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_building.py"
click node_evaluation "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_evaluation.py"
click node_prediction "https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_prediction.py"

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_cli toneBlue
class node_rawdata,node_ingest toneAmber
class node_preprocess,node_building,node_evaluation,node_prediction toneMint
class node_operator toneIndigo
```

## Components

### Workflow entry

- [CLI workflow](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/main.py): `main.py`

### Churn data

- [Churn CSV](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/data/raw/churn%20-%20churn.csv): `data/raw/churn - churn.csv`
- [CSV ingestion](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/data_ingestion.py): `src/data_ingestion.py`

### ML preparation

- [Data preprocessing](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/data_preprocessing.py): `src/data_preprocessing.py`
- [Model building](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_building.py): `src/model_building.py`
- [Model evaluation](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_evaluation.py): `src/model_evaluation.py`
- [Model prediction](https://github.com/rakshitanaik2006/mlops_telecom_customerchurnpredicition/blob/main/src/model_prediction.py): `src/model_prediction.py`

### Other components

- **Pipeline operator**

## Connections

- Pipeline operator → CLI workflow: runs (evidence: `README.md`)
- CLI workflow → CSV ingestion: calls (evidence: `main.py`)
- CSV ingestion → Churn CSV: reads CSV
- CLI workflow → Data preprocessing: passes data (evidence: `main.py`)
- Model building → Model evaluation
- Model building → Model prediction
