# edaaydinea/ai-projects-for-healthcare architecture

> Architecture diagram of the GitHub repository edaaydinea/ai-projects-for-healthcare, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/edaaydinea/ai-projects-for-healthcare
- Repository: https://github.com/edaaydinea/ai-projects-for-healthcare

## Overview

##### Project type and purpose
- This repository is not a single deployed service but a monorepo of end-to-end data-science/ML projects in healthcare.
- Each top-level folder contains a standalone Jupyter notebook demonstrating a data ingestion → preprocessing → modeling → evaluation pipeline for a specific healthcare problem (e.g., breast cancer, COVID-19 detection, diabetes prediction).

##### File structure
- Top-level directories: one per project (e.g., “Breast Cancer Classification,” “Diabetes Prediction With Pyspark MLLIB”)
- Inside each:
- One or more .ipynb notebooks implementing data loading, feature engineering, model training, visualization
- Datasets in .csv, .xlsx or image form
- Occasionally environment files (environment.yml) for reproducibility
- Root: LICENSE, README.md – no frontend/backend separation or API layer, purely analysis pipelines.

##### README for additional insights
- Confirms each folder is a completed (✅) or work-in-progress analysis project
- Lists dependencies used across projects (PyTorch, PySpark MLLIB, Plotly, Keras/TensorFlow, scikit-learn)
- No mention of microservices or deployments—focus is on notebook-driven experiments.

##### Detail
- Versioned environment files as a first-class component

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Monorepo Root
    root["Monorepo Root"]:::root
    subgraph "Monorepo Root"
        README["README.md"]:::config
        LICENSE["LICENSE"]:::config
    end

    %% Projects Collection
    subgraph "Projects" 
        direction TB

        subgraph "Breast Cancer Classification"
            direction TB
            BCCNB["_Breast_Cancer_Classification.ipynb"]:::code
        end

        subgraph "Breast Cancer Detection"
            direction TB
            BCDNB["Breast_Cancer_Detection.ipynb"]:::code
        end

        subgraph "DNA Classification Project"
            direction TB
            DNANB["DNA Classification.ipynb"]:::code
        end

        subgraph "Detecting COVID-19 with CXR"
            direction TB
            COVIDNB["Detecting COVID-19 with Chest X-Ray using PyTorch.ipynb"]:::code
        end

        subgraph "Diabetes Prediction With PySpark MLLIB"
            direction TB
            DIABNB["Diabetes_Prediction.ipynb"]:::code
            DIABCSV["diabetes.csv"]:::data
            TESTCSV["new_test.csv"]:::data
        end

        subgraph "Diagnosing Coronary Artery Disease"
            direction TB
            CADNB["Diagnosing Coronary Artery Disease.ipynb"]:::code
        end

        subgraph "Heart Disease Classification Project"
            direction TB
            HDNB["Heart Disease Classification.ipynb"]:::code
            HDXLSX["Ch3.ClevelandData.xlsx"]:::data
        end

        subgraph "Heart Failure - EDA & Modeling"
            direction TB
            HFNB["health_failure_prediction.ipynb"]:::code
            HFCSV["heart_failure_clinical_records_dataset.csv"]:::data
            HFYML["environment.yml"]:::config
            HFLYML["environment-linux.yml"]:::config
        end

        subgraph "Drug Safety Hypothesis Testing"
            direction TB
            DRUGNB["notebook.ipynb"]:::code
            DRUGCSV["drug_safety.csv"]:::data
        end

        subgraph "Prediction Diabetes with MLP"
            direction TB
            MLPNB["Prediction_Diabetes_with_Multilayer_Perceptrons.ipynb"]:::code
            MLPCSV["diabetes.csv"]:::data
        end

        subgraph "COVID-19 & Happiness Analysis"
            direction TB
            HAPPYNB["covid19 data analysis notebook.ipynb"]:::code
            RAW1["RAW_global_deaths.csv"]:::data
            RAW2["covid19_deaths_dataset.csv"]:::data
            RAW3["RAW_global_confirmed_cases.csv"]:::data
            RAW4["worldwide_happiness_report.csv"]:::data
        end
    end

    %% Compute Engines & Libraries
    subgraph "Compute Engines & Libraries"
        direction TB
        PYTHON["Python Runtime"]:::compute
        JUPYTER["Jupyter Notebook"]:::compute
        TORCH["PyTorch"]:::compute
        SPARK["PySpark MLLIB"]:::compute
        SKLEARN["scikit-learn"]:::compute
        TENSOR["TensorFlow/Keras"]:::compute
        PLOTLY["Plotly/Matplotlib"]:::compute
    end

    %% Relationships
    class root,README,LICENSE root
    %% Data -> Notebooks
    DIABCSV -->|load CSV| DIABNB
    TESTCSV -->|load CSV| DIABNB
    HDXLSX -->|load XLSX| HDNB
    HFCSV -->|load CSV| HFNB
    RAW1 -->|load CSV| HAPPYNB
    RAW2 -->|load CSV| HAPPYNB
    RAW3 -->|load CSV| HAPPYNB
    RAW4 -->|load CSV| HAPPYNB
    DRUGCSV -->|load CSV| DRUGNB
    MLPCSV -->|load CSV| MLPNB

    %% Notebooks invoke compute engines
    BCCNB -->|run| JUPYTER
    BCDNB -->|run| JUPYTER
    DNANB -->|run| JUPYTER
    COVIDNB -->|run| JUPYTER
    DIABNB -->|run| JUPYTER
    CADNB -->|run| JUPYTER
    HDNB -->|run| JUPYTER
    HFNB -->|run| JUPYTER
    DRUGNB -->|run| JUPYTER
    MLPNB -->|run| JUPYTER
    HAPPYNB -->|run| JUPYTER

    %% Jupyter uses Python and libraries
    JUPYTER -->|executes| PYTHON
    PYTHON -->|imports| TORCH
    PYTHON -->|imports| SPARK
    PYTHON -->|imports| SKLEARN
    PYTHON -->|imports| TENSOR
    PYTHON -->|imports| PLOTLY

    %% Environment files ensure reproducibility
    HFYML -->|defines| JUPYTER
    HFLYML -->|defines| JUPYTER

    %% Click Events
    click README "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/README.md"
    click LICENSE "https://github.com/edaaydinea/ai-projects-for-healthcare/tree/master/LICENSE"
    click BCCNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Breast Cancer Classification/_Breast_Cancer_Classification.ipynb"
    click BCDNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Breast Cancer Detection/Breast_Cancer_Detection.ipynb"
    click DNANB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/DNA Classification Project/DNA Classification.ipynb"
    click COVIDNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Detecting COVID-19 with Chest X-Ray using PyTorch/Detecting COVID-19 with Chest X-Ray using PyTorch.ipynb"
    click DIABNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Diabetes Prediction With Pyspark MLLIB/Diabetes_Prediction.ipynb"
    click DIABCSV "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Diabetes Prediction With Pyspark MLLIB/diabetes.csv"
    click TESTCSV "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Diabetes Prediction With Pyspark MLLIB/new_test.csv"
    click CADNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Diagnosing Coronary Artery Disease Project/Diagnosing Coronary Artery Disease.ipynb"
    click HDNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Disease Classification Project/Heart Disease Classification.ipynb"
    click HDXLSX "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Disease Classification Project/Ch3.ClevelandData.xlsx"
    click HFNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Failure - Exploratory Data Analysis/health_failure_prediction.ipynb"
    click HFCSV "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Failure - Exploratory Data Analysis/heart_failure_clinical_records_dataset.csv"
    click HFYML "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Failure - Exploratory Data Analysis/environment.yml"
    click HFLYML "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Heart Failure - Exploratory Data Analysis/environment-linux.yml"
    click DRUGNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Hypothesis Testing in Healthcare - Drug Safety/notebook.ipynb"
    click DRUGCSV "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Hypothesis Testing in Healthcare - Drug Safety/drug_safety.csv"
    click MLPNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Prediction Diabetes with Multilayer Perceptrons/Prediction_Diabetes_with_Multilayer_Perceptrons.ipynb"
    click MLPCSV "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Prediction Diabetes with Multilayer Perceptrons/diabetes.csv"
    click HAPPYNB "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Relationship between COVID-19  & Happiness in that Country/covid19 data analysis notebook.ipynb"
    click RAW1 "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Relationship between COVID-19  & Happiness in that Country/Dataset for practice/RAW_global_deaths.csv"
    click RAW2 "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Relationship between COVID-19  & Happiness in that Country/Dataset for practice/covid19_deaths_dataset.csv"
    click RAW3 "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Relationship between COVID-19  & Happiness in that Country/Dataset/RAW_global_confirmed_cases.csv"
    click RAW4 "https://github.com/edaaydinea/ai-projects-for-healthcare/blob/master/Relationship between COVID-19  & Happiness in that Country/Dataset/worldwide_happiness_report.csv"

    %% Styles
    classDef root fill:#FFFFFF,stroke:#000000,stroke-width:2px;
    classDef code fill:#ADD8E6,stroke:#0000FF,stroke-width:1px;
    classDef data fill:#FFA500,stroke:#FF8C00,stroke-width:1px,stroke-dasharray: 2 2;
    classDef compute fill:#90EE90,stroke:#008000,stroke-width:1px;
    classDef config fill:#CCCCCC,stroke:#666666,stroke-width:1px,stroke-dasharray: 2 2;
```
