# guruprasad203/dryeyediseasepred architecture

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

- Interactive diagram: https://gitdiagram.com/guruprasad203/dryeyediseasepred
- Repository: https://github.com/guruprasad203/dryeyediseasepred

## Overview

This repository is a notebook-based dry-eye disease prediction project. The documented workflow starts with loading and exploring patient data, engineers clinical and lifestyle risk features, trains and tunes classifiers, evaluates and compares models, and supports prediction with a saved Random Forest model. The README documents these stages and capabilities; no notebook source excerpts were provided, so relationships below reflect documented workflow rather than inspected calls. The dataset and saved artifacts are described in the README but are not present in the supplied file tree.

Main entry points: [`dryeyedis.ipynb`](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb) (Model training)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_load_explore["Load and explore<br/>[dryeyedis.ipynb]"]
  node_feature_engineering["Feature engineering<br/>[dryeyedis.ipynb]"]
end

subgraph group_modeling["Modeling"]
  node_split_tune["Split and tune<br/>[dryeyedis.ipynb]"]
  node_model_training["Model training<br/>[dryeyedis.ipynb]"]
  node_ensemble_comparison["Ensemble comparison<br/>[dryeyedis.ipynb]"]
end

subgraph group_assessment["Evaluation"]
  node_evaluation["Model evaluation<br/>[dryeyedis.ipynb]"]
  node_importance["Feature importance<br/>[dryeyedis.ipynb]"]
  node_inference["Prediction<br/>[dryeyedis.ipynb]"]
end

node_user(("Analyst"))
node_patient_data["Patient dataset"]

node_user -->|"runs notebook"| node_load_explore
node_patient_data -->|"loads data"| node_load_explore
node_load_explore -->|"engineers features"| node_feature_engineering
node_feature_engineering -->|"prepares features"| node_split_tune
node_split_tune -->|"tunes training"| node_model_training
node_model_training -->|"evaluates model"| node_evaluation
node_model_training -->|"compares methods"| node_ensemble_comparison
node_evaluation -->|"analyzes features"| node_importance
node_user -->|"requests predictions"| node_inference

click node_load_explore "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_feature_engineering "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_split_tune "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_model_training "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_ensemble_comparison "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_evaluation "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_importance "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb"
click node_inference "https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.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_load_explore,node_feature_engineering toneBlue
class node_split_tune,node_model_training,node_ensemble_comparison toneAmber
class node_evaluation,node_importance,node_inference toneMint
class node_user,node_patient_data toneIndigo
```

## Components

### Data preparation

- [Load and explore](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`
- [Feature engineering](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`

### Modeling

- [Split and tune](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`
- [Model training](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`
- [Ensemble comparison](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`

### Evaluation

- [Model evaluation](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`
- [Feature importance](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`
- [Prediction](https://github.com/guruprasad203/dryeyediseasepred/blob/main/dryeyedis.ipynb): `dryeyedis.ipynb`

### Other components

- **Analyst**
- **Patient dataset**

## Connections

- Analyst → Load and explore: runs notebook (evidence: `README.md`)
- Patient dataset → Load and explore: loads data (evidence: `README.md`)
- Load and explore → Feature engineering: engineers features (evidence: `README.md`)
- Feature engineering → Split and tune: prepares features (evidence: `README.md`)
- Split and tune → Model training: tunes training (evidence: `README.md`)
- Model training → Model evaluation: evaluates model (evidence: `README.md`)
- Model training → Ensemble comparison: compares methods (evidence: `README.md`)
- Model evaluation → Feature importance: analyzes features (evidence: `README.md`)
- Analyst → Prediction: requests predictions (evidence: `README.md`)
