# riyak0583/mlops_telecom_customer_churnpredictionmodel architecture

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

## Overview

The supplied source implements only the beginning of the advertised churn workflow: the CLI entry point loads data and preprocesses it into train/test sets. The preprocessing module handles duplicate removal, splitting, numeric and categorical transformations, and training-set resampling. The README also describes training, evaluation, prediction, a model registry, and an API/web console, but the corresponding modules are empty or absent from the supplied tree, so they are not represented as working components.

Main entry points: [`main.py`](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/main.py) (Pipeline entry), [`src/data_ingestion.py`](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_ingestion.py) (Data ingestion), [`src/data_preprocessing.py`](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_preprocessing.py) (Preprocessing)

## Diagram (Mermaid)

```mermaid
flowchart TD

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

subgraph group_preparation["Data preparation"]
  node_ingest["Data ingestion<br/>[data_ingestion.py]"]
  node_preprocess["Preprocessing"]
end

node_rawdata["Churn CSV<br/>[churn.csv]"]

node_cli -->|"calls"| node_ingest
node_ingest -->|"returns data"| node_cli
node_cli -->|"calls"| node_preprocess
node_preprocess -->|"returns splits"| node_cli

click node_cli "https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/main.py"
click node_ingest "https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_ingestion.py"
click node_preprocess "https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_preprocessing.py"
click node_rawdata "https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/data/raw/churn.csv"

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_preprocess toneAmber
class node_rawdata toneTeal
```

## Components

### Workflow entry

- [Pipeline entry](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/main.py): `main.py`

### Data preparation

- [Data ingestion](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_ingestion.py): `src/data_ingestion.py`
- [Preprocessing](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/src/data_preprocessing.py): `src/data_preprocessing.py`

### Other components

- [Churn CSV](https://github.com/riyak0583/mlops_telecom_customer_churnpredictionmodel/blob/main/data/raw/churn.csv): `data/raw/churn.csv`

## Connections

- Pipeline entry → Data ingestion: calls (evidence: `main.py`)
- Data ingestion → Pipeline entry: returns data (evidence: `main.py`)
- Pipeline entry → Preprocessing: calls (evidence: `main.py`)
- Preprocessing → Pipeline entry: returns splits (evidence: `main.py`)
