# balla-hemanth-srinivas/heart-disease-prediction-system architecture

> Architecture diagram of the GitHub repository balla-hemanth-srinivas/heart-disease-prediction-system, 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/balla-hemanth-srinivas/heart-disease-prediction-system
- Repository: https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system

## Overview

This is an educational heart-disease classification project whose runtime is a single Jupyter notebook. The documented workflow uses the CSV dataset for exploration and preprocessing, then trains and evaluates logistic regression before making predictions. The README documents these stages, but no notebook source excerpts were provided, so the graph reflects documented relationships rather than verified implementation details.

Main entry points: [`Heart Disease Prediction.ipynb`](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb) (Data exploration), [`heart.csv`](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/heart.csv) (Heart dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_dataset["Heart dataset<br/>[heart.csv]"]
  node_eda["Data exploration"]
  node_preprocessing["Preprocessing"]
end

subgraph group_modeling["Modeling"]
  node_training["Model training"]
  node_evaluation["Model evaluation"]
end

subgraph group_prediction["Prediction"]
  node_prediction["Prediction"]
end

node_user(("Notebook user"))

node_user -->|"runs notebook"| node_eda
node_dataset -->|"explored from"| node_eda
node_eda -->|"precedes"| node_preprocessing
node_preprocessing -->|"precedes"| node_training
node_training -->|"evaluated by"| node_evaluation
node_evaluation -->|"followed by"| node_prediction

click node_dataset "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/heart.csv"
click node_eda "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb"
click node_preprocessing "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb"
click node_training "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb"
click node_evaluation "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb"
click node_prediction "https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.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_dataset,node_eda,node_preprocessing,node_user toneBlue
class node_training,node_evaluation toneAmber
class node_prediction toneMint
```

## Components

### Data preparation

- [Heart dataset](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/heart.csv): `heart.csv`
- [Data exploration](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb): `Heart Disease Prediction.ipynb`
- [Preprocessing](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb): `Heart Disease Prediction.ipynb`

### Modeling

- [Model training](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb): `Heart Disease Prediction.ipynb`
- [Model evaluation](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb): `Heart Disease Prediction.ipynb`

### Prediction

- [Prediction](https://github.com/balla-hemanth-srinivas/heart-disease-prediction-system/blob/main/Heart%20Disease%20Prediction.ipynb): `Heart Disease Prediction.ipynb`

### Other components

- **Notebook user**

## Connections

- Notebook user → Data exploration: runs notebook (evidence: `README.md`)
- Heart dataset → Data exploration: explored from (evidence: `README.md`)
- Data exploration → Preprocessing: precedes (evidence: `README.md`)
- Preprocessing → Model training: precedes (evidence: `README.md`)
- Model training → Model evaluation: evaluated by (evidence: `README.md`)
- Model evaluation → Prediction: followed by (evidence: `README.md`)
