# avanishtaskar05/mlops_telecom_customerchurn_predictionmodel architecture

> Architecture diagram of the GitHub repository avanishtaskar05/mlops_telecom_customerchurn_predictionmodel, 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/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel
- Repository: https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel

## Overview

This repository is a small churn-prediction ML project. The evidenced runtime workflow is a CLI entry point that loads a CSV and preprocesses it into train/test data. The README describes additional training, evaluation, prediction, registry, API, and web-console capabilities, but the sampled model modules are empty and the documented API source is absent from the tree; those features are not mapped as implemented components.

Main entry points: [`main.py`](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/main.py) (CLI entry), [`src/data_ingestion.py`](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_ingestion.py) (CSV ingestion), [`src/data_preprocessing.py`](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_preprocessing.py) (Preprocessing), [`data/raw/churn - churn.csv`](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/data/raw/churn%20-%20churn.csv) (Churn CSV)

## Diagram (Mermaid)

```mermaid
flowchart TD

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

subgraph group_data["Data workflow"]
  node_ingest["CSV ingestion<br/>[data_ingestion.py]"]
  node_rawdata["Churn CSV<br/>[churn - churn.csv]"]
  node_preprocess["Preprocessing"]
  node_splits["Train/test data"]
end

node_operator(("Operator"))

node_operator -->|"runs"| node_cli
node_cli -->|"calls"| node_ingest
node_ingest -->|"reads"| node_rawdata
node_cli -->|"calls"| node_preprocess
node_ingest -->|"passes dataframe"| node_preprocess
node_preprocess -->|"returns splits"| node_splits

click node_cli "https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/main.py"
click node_ingest "https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_ingestion.py"
click node_rawdata "https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/data/raw/churn%20-%20churn.csv"
click node_preprocess "https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_preprocessing.py"
click node_splits "https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/tree/main/data/processed"

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_ingest,node_rawdata,node_preprocess,node_splits toneAmber
class node_operator toneIndigo
```

## Components

### Entry point

- [CLI entry](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/main.py): `main.py`

### Data workflow

- [CSV ingestion](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_ingestion.py): `src/data_ingestion.py`
- [Churn CSV](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/data/raw/churn%20-%20churn.csv): `data/raw/churn - churn.csv`
- [Preprocessing](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/blob/main/src/data_preprocessing.py): `src/data_preprocessing.py`
- [Train/test data](https://github.com/avanishtaskar05/mlops_telecom_customerchurn_predictionmodel/tree/main/data/processed): `data/processed`

### Other components

- **Operator**

## Connections

- Operator → CLI entry: runs (evidence: `main.py`)
- CLI entry → CSV ingestion: calls (evidence: `main.py`)
- CSV ingestion → Churn CSV: reads (evidence: `src/data_ingestion.py`)
- CLI entry → Preprocessing: calls (evidence: `main.py`)
- CSV ingestion → Preprocessing: passes dataframe (evidence: `main.py`)
- Preprocessing → Train/test data: returns splits (evidence: `src/data_preprocessing.py`)
