# dhruvg029/data-science-bootcamp architecture

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

- Interactive diagram: https://gitdiagram.com/dhruvg029/data-science-bootcamp
- Repository: https://github.com/dhruvg029/data-science-bootcamp

## Overview

##### Main Components
- Introduction to Python – This is the foundation where learners start with basics (syntax, data types, control loops) and then progress to advanced topics (OOP, libraries, APIs, Pandas, NumPy, Matplotlib/Seaborn, SciPy).
- Mathematics and Statistics – Covers descriptive and inferential statistics, probability distributions, hypothesis testing, and sampling; serving as a mathematical grounding.
- Exploratory Data Analysis (EDA) – Focuses on univariate, bivariate, and multivariate analyses with associated datasets, which prepares data for further processing.
- Data Preprocessing – Shows practical techniques like handling missing values, categorical encoding, outlier treatment, and validation strategies.
- Feature Engineering – Demonstrates how to create, transform, and encode features, including text-based feature engineering.
- Machine Learning – Contains notebooks discussing various models (Scikit-Learn basics, regression/classification, support vector machines, decision trees, ensemble methods, naive Bayes, PCA, clustering, and K-nearest neighbours) along with associated datasets for practice.
- Deep Learning – Divided into subtopics such as foundations with PyTorch, TensorFlow, and Keras, building neural networks, optimizers, and digital image processing techniques such as edge detection, segmentation, and morphological processing.

##### Relationships and Dependencies
- There is a clear progression—from learning foundational Python skills, through mathematical/statistical basics, to data exploration and cleaning, and finally to complex predictive modeling and deep learning.
- Many components have dependencies on their predecessors: For example, Machine Learning builds on both Data Preprocessing and Feature Engineering; similarly, Deep Learning techniques assume fluency in Python coding and ML fundamentals.

##### Architectural Patterns and Design Principles
- Layered/Modular Structure: Each major directory (e.g., “0_Introduction to Python”, “1_Mathematics and Statistics”, etc.) represents a layer in the learning pipeline. Use this modular approach to emphasize separation of concerns.
- Learning/Execution Pipeline: Consider a sequential flow that starts from coding fundamentals, moves through theoretical and applied mathematics, leads into data examination and cleaning, then feature creation, and finally to real-world modeling (ML and DL).

##### Essential Elements
- Main Nodes: Each of the seven major components (Introduction to Python, Mathematics & Statistics, Exploratory Data Analysis, Data Preprocessing, Feature Engineering, Machine Learning, and Deep Learning).
- Sub-Nodes: Where applicable, add subdivisions (such as individual subtopics in each module) to deepen the granularity of the architecture.
- External Libraries/Technologies: Annotate where specific key tools (like Pandas, Scikit-Learn, TensorFlow, PyTorch, etc.) are used.

##### Final Advice
- Detailed dependencies between modules, emphasizing how foundational topics support advanced topics.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Introduction to Python
    subgraph "Introduction to Python"
        ip1["Python Basics"]:::foundational
        ip2["Python Advanced (OOP, Libraries, APIs, Pandas, NumPy, Matplotlib/Seaborn, SciPy)"]:::foundational
        ip1 --> ip2
    end

    %% Mathematics and Statistics
    subgraph "Mathematics and Statistics"
        ms1["Descriptive & Inferential Stats"]:::foundational
        ms2["Probability & Distributions"]:::foundational
        ms3["Hypothesis Testing & Sampling"]:::foundational
        ms1 --> ms2
        ms2 --> ms3
    end

    %% Exploratory Data Analysis
    subgraph "Exploratory Data Analysis"
        eda1["Univariate Analysis"]:::eda
        eda2["Bivariate Analysis"]:::eda
        eda3["Multivariate Analysis + Datasets"]:::eda
        eda1 --> eda2
        eda2 --> eda3
    end

    %% Data Preprocessing
    subgraph "Data Preprocessing"
        dp1["Handling Missing Values"]:::preprocessing
        dp2["Categorical Encoding"]:::preprocessing
        dp3["Outlier Treatment & Validation"]:::preprocessing
        dp1 --> dp2
        dp2 --> dp3
    end

    %% Feature Engineering
    subgraph "Feature Engineering"
        fe1["Feature Creation & Transformation"]:::fe
        fe2["Encoding & Text-Based Features"]:::fe
        fe1 --> fe2
    end

    %% Machine Learning
    subgraph "Machine Learning"
        ml1["Scikit-Learn Basics"]:::ml
        ml2["Regression & Classification"]:::ml
        ml3["SupportVectorMachines&DecisionTrees"]:::ml
        ml4["EnsembleMethods&NaiveBayes"]:::ml
        ml5["PCA,Clustering,KNN"]:::ml
        ml1 --> ml2
        ml2 --> ml3
        ml3 --> ml4
        ml4 --> ml5
    end

    %% Deep Learning
    subgraph "Deep Learning"
        dl1["Foundations: PyTorch,TensorFlow&Keras"]:::dl
        dl2["Neural Networks Construction"]:::dl
        dl3["Optimizers"]:::dl
        dl4["Digital Image Processing:Edge,Segmentation,Morphology"]:::dl
        dl1 --> dl2
        dl2 --> dl3
        dl3 --> dl4
    end

    %% Pipeline Flow Connections (Prerequisites)
    ip2 -->|"prerequisite"| ms1
    ms3 -->|"prerequisite"| eda1
    eda3 -->|"prerequisite"| dp1
    dp3 -->|"prerequisite"| fe1
    fe2 -->|"prerequisite"| ml1
    ml5 -->|"prerequisite"| dl1

    %% Click Events for Component Mapping
    click ip1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/0_Introduction to Python"
    click ms1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/1_Mathematics and Statistics"
    click eda1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/2_Exploratory Data Analysis"
    click dp1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/3_Data Preprocessing"
    click fe1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/4_Feature Engineering"
    click ml1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/5_Machine Learning"
    click dl1 "https://github.com/dhruvg029/data-science-bootcamp/tree/main/6_Deep Learning"

    %% Styles
    classDef foundational fill:#AED6F1,stroke:#1B4F72,stroke-width:2px;
    classDef eda fill:#F9E79F,stroke:#B7950B,stroke-width:2px;
    classDef preprocessing fill:#D5F5E3,stroke:#27AE60,stroke-width:2px;
    classDef fe fill:#F5CBA7,stroke:#D35400,stroke-width:2px;
    classDef ml fill:#D2B4DE,stroke:#6C3483,stroke-width:2px;
    classDef dl fill:#FAD7A0,stroke:#B9770E,stroke-width:2px;
```
