# akshat151/cs5330_deeplearning_based_covid19_detection architecture

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

- Interactive diagram: https://gitdiagram.com/akshat151/cs5330_deeplearning_based_covid19_detection
- Repository: https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection

## Overview

##### Project Type and Purpose
- This is a deep learning project aimed at COVID-19 detection using imaging data.
- It leverages several convolutional neural network architectures (DenseNet, LeNet, Resnet, VGG) that appear to be implemented in individual Jupyter notebooks.
- The README explains that the project uses a conda environment (defined in “cs5330_project_env.yml”) and datasets from external sources, with notebooks for evaluation, preprocessing, and inference.

##### Analyzing the File Structure
- Top-Level Organization:
- Model Folders: “DenseNet”, “LeNet”, “Resnet”, and “VGG” each contain individual notebooks for model experimentation.
- Other key notebooks in the root include “Inference.ipynb” (plus associated PDF), “Preprocessing.ipynb”, and “evaluation.ipynb”.
- The environment’s configuration file (“cs5330_project_env.yml”) indicates dependency management.

##### Key Components
a. Data/External Resources:
- External relationships using dataset links (Kaggle and OneDrive) presented in the README.
- Data source as “Dataset Source” nodes.
b. Environment & Setup:
c. Preprocessing Module:
- This component is represented by “Preprocessing.ipynb,” where raw data is likely cleaned and formatted.
d. Model Components:
- Each model (DenseNet, LeNet, Resnet, VGG) gets its own block.
e. Inference & Evaluation:
- “Inference.ipynb” (with supporting documentation “Inference_Code.pdf”) and “evaluation.ipynb” as separate modules that use the pre-trained models to generate predictions and assess performance.
f. Data Flow and Interconnections:

##### Architectural Patterns & Design Principles
- The modular separation indicates a design similar to a pipeline (data ingestion/preprocessing → model selection/training/inference → evaluation).
- It is based on the “divide and conquer” idea where each model architecture can be developed, updated, or evaluated independently.

## Diagram (Mermaid)

```mermaid
flowchart TD
    E["Conda Environment Setup"]:::env
    D["External Data Sources (Kaggle,OneDrive)"]:::external
    P["Preprocessing.ipynb"]:::preproc

    subgraph "Model Architectures"
        DN["DenseNet"]:::model
        LN["LeNet"]:::model
        RN["Resnet"]:::model
        VG["VGG"]:::model
    end

    I["Inference.ipynb & Inference_Code.pdf"]:::inference
    EV["evaluation.ipynb"]:::evaluation

    E --> P
    D --> P
    P --> DN
    P --> LN
    P --> RN
    P --> VG
    DN --> I
    LN --> I
    RN --> I
    VG --> I
    I --> EV
    EV -->|"feedback"| DN

    classDef env fill:#ffcc99,stroke:#333,stroke-width:2px;
    classDef external fill:#fbb,stroke:#333,stroke-width:2px;
    classDef preproc fill:#bbf,stroke:#333,stroke-width:2px;
    classDef model fill:#afa,stroke:#333,stroke-width:2px;
    classDef inference fill:#fda,stroke:#333,stroke-width:2px;
    classDef evaluation fill:#fac,stroke:#333,stroke-width:2px;

    click E "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/cs5330_project_env.yml"
    click P "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/Preprocessing.ipynb"
    click DN "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/DenseNet/Densenet_1.ipynb"
    click LN "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/LeNet/Lenet.ipynb"
    click RN "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/Resnet/Resnet_1.ipynb"
    click VG "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/VGG/VGG_updated.ipynb"
    click I "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/Inference.ipynb"
    click EV "https://github.com/akshat151/cs5330_deeplearning_based_covid19_detection/blob/main/evaluation.ipynb"
```
