# sumit-telawane/data-science architecture

> Architecture diagram of the GitHub repository sumit-telawane/data-science, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-07-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sumit-telawane/data-science
- Repository: https://github.com/sumit-telawane/data-science

## Overview

##### Project type and purpose
- This is not a single application but a monorepo “learning portfolio” for data-science and machine-learning examples. It contains:
- Algorithm notebooks (ANN, CNN, Decision Trees, K-Means, KNN, Linear/Logistic Regression, SVM, NLP, etc.)
- Data-analysis projects and exercises
- Small Flask deployment demos under Deploy_Project
- Python scripting exercises (games, utilities)
- A DevContainer for environment consistency

##### File structure
- Top‐level grouping:
- .devcontainer/ – environment configuration (Docker/VS Code)
- ANN, CNN, Decision Trees and Random Forests, …, SVM, NLP, etc. – per-algorithm Jupyter folders containing data (.csv, .h5, .keras) and .ipynb notebooks
- Deploy_Project/ – subfolders with Flask apps, templates, CSV data, serialized models
- Projects/ – capstone-style end-to-end notebooks with real datasets
- Python/ – pure-Python scripts for learning exercises (games, CLI tools)
- data analysis/, Statistics/, Numpy/ – foundational notebooks for EDA and core libraries
- README.md – high-level introduction by the author

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Infrastructure Layer
    subgraph "Infrastructure Layer"
        DevContainer["DevContainer"]:::infra
        Jupyter["Jupyter Server"]:::infra
    end

    %% Data Layer
    subgraph "Data Layer"
        DatasetStore[(Dataset Store)]:::data
    end

    %% Computation Layer
    subgraph "Computation Layer"
        subgraph "Algorithm Modules"
            ANNModule["ANN Module"]:::compute
            CNNModule["CNN Module"]:::compute
            DTModule["Decision Trees & Random Forests"]:::compute
            KMeansModule["K-Means Module"]:::compute
            KNNModule["KNN Module"]:::compute
            LinRegModule["Linear Regression Module"]:::compute
            LogRegModule["Logistic Regression Module"]:::compute
            SVMModule["SVM Module"]:::compute
            NLPModule["NLP Module"]:::compute
        end
        UtilityScripts["Utility Scripts"]:::compute
    end

    %% Model Artifacts
    ModelArtifacts[(Model Artifacts)]:::artifact

    %% Presentation Layer
    subgraph "Presentation Layer"
        subgraph "Deployment Services"
            OTPDemo["OTP Generator Demo"]:::deploy
            WeatherApp["Weather Flask App"]:::deploy
            SpamService["Spam-Classifier Service"]:::deploy
        end
        UserUI["User UI (Browser)"]:::external
    end

    %% Connections
    DevContainer --> Jupyter
    DevContainer --> OTPDemo
    DevContainer --> WeatherApp
    DevContainer --> SpamService

    Jupyter -->|reads| DatasetStore
    UtilityScripts -->|reads/writes| DatasetStore

    Jupyter --> ANNModule
    Jupyter --> CNNModule
    Jupyter --> DTModule
    Jupyter --> KMeansModule
    Jupyter --> KNNModule
    Jupyter --> LinRegModule
    Jupyter --> LogRegModule
    Jupyter --> SVMModule
    Jupyter --> NLPModule

    ANNModule -->|writes| ModelArtifacts
    CNNModule -->|writes| ModelArtifacts
    DTModule -->|writes| ModelArtifacts
    KMeansModule -->|writes| ModelArtifacts
    KNNModule -->|writes| ModelArtifacts
    LinRegModule -->|writes| ModelArtifacts
    LogRegModule -->|writes| ModelArtifacts
    SVMModule -->|writes| ModelArtifacts
    NLPModule -->|writes| ModelArtifacts
    UtilityScripts -->|outputs| ModelArtifacts

    OTPDemo -->|loads| ModelArtifacts
    WeatherApp -->|loads| ModelArtifacts
    SpamService -->|loads| ModelArtifacts
    OTPDemo --> UserUI
    WeatherApp --> UserUI
    SpamService --> UserUI

    %% Click Events
    click DevContainer "https://github.com/sumit-telawane/data-science/blob/main/.devcontainer/devcontainer.json"
    click ANNModule "https://github.com/sumit-telawane/data-science/tree/main/ANN/"
    click CNNModule "https://github.com/sumit-telawane/data-science/tree/main/CNN/"
    click DTModule "https://github.com/sumit-telawane/data-science/blob/main/Decision Trees and Random Forests/01-Decision Trees and Random Forests in Python.ipynb"
    click KMeansModule "https://github.com/sumit-telawane/data-science/blob/main/K-Means/K Means.ipynb"
    click KNNModule "https://github.com/sumit-telawane/data-science/blob/main/KNN/01-K Nearest Neighbors with Python.ipynb"
    click LinRegModule "https://github.com/sumit-telawane/data-science/blob/main/Linear Regression/01-Linear Regression with Python.ipynb"
    click LogRegModule "https://github.com/sumit-telawane/data-science/blob/main/Logistic Regression/01-Logistic Regression with Python.ipynb"
    click SVMModule "https://github.com/sumit-telawane/data-science/blob/main/SVM/01-Support Vector Machines with Python.ipynb"
    click NLPModule "https://github.com/sumit-telawane/data-science/blob/main/NLP/01-NLP (Natural Language Processing) with Python.ipynb"
    click UtilityScripts "https://github.com/sumit-telawane/data-science/tree/main/Python/"
    click OTPDemo "https://github.com/sumit-telawane/data-science/blob/main/Deploy_Project/New folder/app.py"
    click WeatherApp "https://github.com/sumit-telawane/data-science/blob/main/Deploy_Project/Weather-Flask-App-main/app.py"
    click SpamService "https://github.com/sumit-telawane/data-science/blob/main/Deploy_Project/pr/app.py"

    %% Styles
    classDef infra fill:#ADD8E6,stroke:#333,stroke-width:1px
    classDef data fill:#90EE90,stroke:#333,stroke-width:1px
    classDef compute fill:#FFFF99,stroke:#333,stroke-width:1px
    classDef artifact fill:#FFA500,stroke:#333,stroke-width:1px
    classDef deploy fill:#DDA0DD,stroke:#333,stroke-width:1px
    classDef external fill:#FFFFFF,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
```
