# gopikrishnagundepogu/diaseses-pridiction-ml architecture

> Architecture diagram of the GitHub repository gopikrishnagundepogu/diaseses-pridiction-ml, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gopikrishnagundepogu/diaseses-pridiction-ml
- Repository: https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml

## Overview

This is a small Streamlit health-prediction app. A user selects a disease, enters its feature values, and submits them; the app calls the corresponding serialized model and displays a text diagnosis. The four disease workflows and model loading are implemented in one script. The repository also contains a sonar-prediction notebook and an unexplained text file, but their contents were not provided, so their behavior and connections cannot be established.

Main entry points: [`multiple predictionsnotepad.py`](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py) (Streamlit app), [`diabetes_traning.sav`](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/diabetes_traning.sav) (Diabetes model), [`heart_data.sav`](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/heart_data.sav) (Heart model), [`Parkinson_data.sav`](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/Parkinson_data.sav) (Parkinson's model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Prediction app"]
  node_streamlit_app["Streamlit app"]
  node_diabetes["Diabetes workflow"]
  node_heart["Heart workflow"]
  node_parkinsons["Parkinson's workflow"]
  node_breast_cancer["Breast cancer workflow"]
end

subgraph group_models["Saved models"]
  node_diabetes_model["Diabetes model"]
  node_heart_model["Heart model<br/>[heart_data.sav]"]
  node_parkinsons_model["Parkinson's model<br/>[Parkinson_data.sav]"]
  node_breast_cancer_model["Breast cancer model"]
end

node_user(("User"))

node_user -->|"enters inputs"| node_streamlit_app
node_streamlit_app -->|"dispatches selection"| node_diabetes
node_streamlit_app -->|"dispatches selection"| node_heart
node_streamlit_app -->|"dispatches selection"| node_parkinsons
node_streamlit_app -->|"dispatches selection"| node_breast_cancer
node_streamlit_app -->|"loads model"| node_diabetes_model
node_streamlit_app -->|"loads model"| node_heart_model
node_streamlit_app -->|"loads model"| node_parkinsons_model
node_streamlit_app -->|"loads model"| node_breast_cancer_model
node_diabetes -->|"predicts with"| node_diabetes_model
node_heart -->|"predicts with"| node_heart_model
node_parkinsons -->|"predicts with"| node_parkinsons_model
node_breast_cancer -->|"predicts with"| node_breast_cancer_model

click node_streamlit_app "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py"
click node_diabetes "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py"
click node_heart "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py"
click node_parkinsons "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py"
click node_breast_cancer "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py"
click node_diabetes_model "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/diabetes_traning.sav"
click node_heart_model "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/heart_data.sav"
click node_parkinsons_model "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/Parkinson_data.sav"
click node_breast_cancer_model "https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/breast_cancer_data.sav"

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_streamlit_app,node_diabetes,node_heart,node_parkinsons,node_breast_cancer,node_user toneBlue
class node_diabetes_model,node_heart_model,node_parkinsons_model,node_breast_cancer_model toneAmber
```

## Components

### Prediction app

- [Streamlit app](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py): `multiple predictionsnotepad.py`
- [Diabetes workflow](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py): `multiple predictionsnotepad.py`
- [Heart workflow](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py): `multiple predictionsnotepad.py`
- [Parkinson's workflow](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py): `multiple predictionsnotepad.py`
- [Breast cancer workflow](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/multiple%20predictionsnotepad.py): `multiple predictionsnotepad.py`

### Saved models

- [Diabetes model](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/diabetes_traning.sav): `diabetes_traning.sav`
- [Heart model](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/heart_data.sav): `heart_data.sav`
- [Parkinson's model](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/Parkinson_data.sav): `Parkinson_data.sav`
- [Breast cancer model](https://github.com/gopikrishnagundepogu/diaseses-pridiction-ml/blob/main/breast_cancer_data.sav): `breast_cancer_data.sav`

### Other components

- **User**

## Connections

- User → Streamlit app: enters inputs (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Diabetes workflow: dispatches selection (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Heart workflow: dispatches selection (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Parkinson's workflow: dispatches selection (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Breast cancer workflow: dispatches selection (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Diabetes model: loads model (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Heart model: loads model (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Parkinson's model: loads model (evidence: `multiple predictionsnotepad.py`)
- Streamlit app → Breast cancer model: loads model (evidence: `multiple predictionsnotepad.py`)
- Diabetes workflow → Diabetes model: predicts with (evidence: `multiple predictionsnotepad.py`)
- Heart workflow → Heart model: predicts with (evidence: `multiple predictionsnotepad.py`)
- Parkinson's workflow → Parkinson's model: predicts with (evidence: `multiple predictionsnotepad.py`)
- Breast cancer workflow → Breast cancer model: predicts with (evidence: `multiple predictionsnotepad.py`)
