# gatlat97/cardio-scope architecture

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

- Interactive diagram: https://gitdiagram.com/gatlat97/cardio-scope
- Repository: https://github.com/gatlat97/cardio-scope

## Overview

CardioScope is a notebook-based heart-disease prediction project using clinical and demographic data. Its documented workflow is to use the UCI heart-disease dataset to predict patient risk; the repository also includes data-cleaning, training, and final-project notebooks. Since no notebook source was provided, their internal calls and data handoffs cannot be verified, so the graph shows only the README-documented dataset-to-prediction relationship.

Main entry points: [`data/processed.cleveland.data`](https://github.com/gatlat97/cardio-scope/blob/main/data/processed.cleveland.data) (UCI dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data"]
  node_uci["UCI dataset"]
  node_cleaned["Cleaned heart data"]
end

subgraph group_notebooks["Notebook workflows"]
  node_cleaning["Data cleaning"]
  node_training["Model training"]
  node_project["Final project"]
end

node_prediction["Heart-risk prediction"]

node_uci -->|"provides data"| node_prediction

click node_uci "https://github.com/gatlat97/cardio-scope/blob/main/data/processed.cleveland.data"
click node_cleaned "https://github.com/gatlat97/cardio-scope/blob/main/data/heart_disease_clean.csv"
click node_cleaning "https://github.com/gatlat97/cardio-scope/blob/main/notebooks/cleaning_data.ipynb"
click node_training "https://github.com/gatlat97/cardio-scope/blob/main/notebooks/Heart_disease_training.ipynb"
click node_project "https://github.com/gatlat97/cardio-scope/blob/main/notebooks/final_project.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_uci,node_cleaned toneBlue
class node_cleaning,node_training,node_project toneAmber
class node_prediction toneIndigo
```

## Components

### Data

- [UCI dataset](https://github.com/gatlat97/cardio-scope/blob/main/data/processed.cleveland.data): `data/processed.cleveland.data`
- [Cleaned heart data](https://github.com/gatlat97/cardio-scope/blob/main/data/heart_disease_clean.csv): `data/heart_disease_clean.csv`

### Notebook workflows

- [Data cleaning](https://github.com/gatlat97/cardio-scope/blob/main/notebooks/cleaning_data.ipynb): `notebooks/cleaning_data.ipynb`
- [Model training](https://github.com/gatlat97/cardio-scope/blob/main/notebooks/Heart_disease_training.ipynb): `notebooks/Heart_disease_training.ipynb`
- [Final project](https://github.com/gatlat97/cardio-scope/blob/main/notebooks/final_project.ipynb): `notebooks/final_project.ipynb`

### Other components

- **Heart-risk prediction**

## Connections

- UCI dataset → Heart-risk prediction: provides data (evidence: `README.md`)
