# nabidalam/road-to-machine-learning architecture

> Architecture diagram of the GitHub repository nabidalam/road-to-machine-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-06-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nabidalam/road-to-machine-learning
- Repository: https://github.com/nabidalam/road-to-machine-learning

## Overview

This repository is not a single runnable application; it is a curated ML education platform built mostly from Markdown content, example scripts, and project walkthroughs. The architecture is content-first: the “product” is the learning path, not a deployed service.

1. Core organizing boundary: numbered learning modules  
The main spine is the `00-prerequisites` through `25-generative-ai-llms` folders. These folders form a staged curriculum that moves from Python/math foundations into data handling, classical ML, deep learning, specialization areas, production/MLOps, and advanced electives. The numbering on disk is the canonical content hierarchy.

2. Teaching flow / dependency chain  
The repository’s primary flow is pedagogical, not runtime-based: prerequisites → data science tooling → ML basics → advanced ML → deep learning → CV/NLP → GenAI/LLMs → deployment/MLOps → projects and electives. The README explicitly defines this progression, and the module READMEs appear to anchor “study maps,” project tutorials, and quick references for each stage.

3. Foundational content subsystem  
`00-prerequisites` and `01-python-for-data-science` act as the base layer. They cover Python programming, math, environment setup, NumPy, Pandas, visualization, EDA, data sources, regex, wrangling, time handling, and lightweight app/data interfaces like Streamlit, Flask, and Tableau. This layer feeds every later module and project.

4. Classical ML subsystem  
Modules `02` through `08` are the core supervised/unsupervised ML stack: problem framing, regression, classification, model evaluation/optimization, ensemble methods, feature engineering, and clustering/dimensionality reduction. This is the “core model development” layer in the architecture, where most tabular ML concepts are introduced and reused by later project tracks.

5. Deep learning and specialization subsystem  
Modules `09` through `12` cover neural-network fundamentals, framework use, computer vision, and NLP. These are the main tensor-based modeling branches in the repository. They transition the learner from classical ML to domain-specific architectures and set up the advanced project folders.

6. Production and operations subsystem  
Modules `13` and `14` are the operational boundary: deployment and MLOps. They cover serialization, REST APIs, Docker, cloud deployment, monitoring, CI/CD, experiment tracking, registry concepts, orchestration, streaming, and big-data tooling. In architecture terms, this is the path from model artifact to serving system and lifecycle management.

7. Cross-cutting “essential skills” subsystem  
Modules `19`, `20`, and `21` are supporting capabilities that are intentionally placed as reusable layers: SQL/databases, imbalanced-data handling, and model explainability. These are not isolated topics; they reinforce data access, evaluation discipline, and interpretability across many projects and ML roles.

8. Advanced electives subsystem  
Modules `22` through `24` (reinforcement learning, graph neural networks, audio/speech) are specialized branches. They are architecturally separate electives, meant to be taken after the core deep-learning foundation, and they broaden the repository beyond tabular ML into sequential, graph, and signal domains.

9. Project subsystem as application layer  
The `16-projects-beginner`, `17-projects-intermediate`, and `18-projects-advanced` folders are the practical application layer. They translate the curriculum into runnable mini-systems such as house price prediction, spam detection, MNIST, churn, recommendation, fraud detection, CIFAR-10, RAG chatbot, object detection, explainability, and deployment. These projects are the repository’s main “integration points” where multiple modules converge.

10. Supporting knowledge base / sidecar content  
The `resources` directory is a large sidecar knowledge base: cheatsheets, guides, career roadmaps, tool overviews, interview prep, and external learning references. It acts like a documentation service for the rest of the repo, providing reusable context rather than core lesson flow.

11. System design track as parallel architecture curriculum  
`system-design` is a distinct but related subsystem. It covers computer architecture, networking, API design, caching, load balancing, SQL/NoSQL, sharding, message queues, and specific system-design exercises like rate limiter, chat, video streaming, file storage, and a real-time ML feature store. This track is important because it bridges ML learning with production system thinking.

12. Full-stack AI track as a separate product-engineering path  
The `resources/full_stack_track` and `examples/full_stack_track` areas support a full-stack AI engineering path. This branch combines TypeScript, Node APIs, SQL, Next.js, containers/cloud, and AI integration. It is a parallel specialization rather than part of the core ML curriculum, and it connects the ML roadmap to product engineering workflows.

13. Tooling and automation boundary  
`requirements.txt` defines the Python package baseline for examples and notebooks. The `tools` directory contains repository hygiene scripts such as link checking (`check_links.py`, `check_md_links.py`), which support documentation integrity rather than application runtime. This indicates the repo is maintained as a large static content set with automated validation.

14. GitHub workflow and contribution infrastructure  
The `.github` directory contains issue templates, a pull request template, and a Python check workflow. That is the repo’s operational governance layer: it enforces contribution quality and basic validation, but does not host application deployment logic. This is consistent with a documentation-and-learning repository.

15. External dependencies and services  
The content references many external platforms and services—Kaggle, UCI, AWS, GCP, Azure, Hugging Face, Docker, MLflow, W&B, Streamlit, Flask, Tableau, Spark, Kafka, etc.—but they are mostly learning targets and example technologies, not live dependencies of a single running system. Architecturally, the repo depends on them as concepts, examples, and optional practice environments.

Overall, the best diagram for this repository is a layered learning platform: curriculum spine in the numbered module folders, practical application in the project folders, supporting reference material in `resources`, governance/tooling in `.github` and `tools`, and parallel specialization tracks for system design and full-stack AI.

Main entry points: [`14-mlops-basics/README.md`](https://github.com/nabidalam/road-to-machine-learning/blob/main/14-mlops-basics/README.md) (MLOps), [`18-projects-advanced/README.md`](https://github.com/nabidalam/road-to-machine-learning/blob/main/18-projects-advanced/README.md) (Advanced Projects), [`03-supervised-learning-regression/README.md`](https://github.com/nabidalam/road-to-machine-learning/blob/main/03-supervised-learning-regression/README.md) (Supervised ML), [`09-neural-networks-basics/README.md`](https://github.com/nabidalam/road-to-machine-learning/blob/main/09-neural-networks-basics/README.md) (DL Core)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry Docs"]
  node_readme["README<br/>overview docs<br/>[README.md]"]
  node_learning_roadmap["Roadmap<br/>curriculum guide"]
  node_getting_started["Start Here<br/>quick start<br/>[GETTING_STARTED.md]"]
end

subgraph group_curriculum["Curriculum Spine"]
  node_prereqs["Prereqs<br/>foundations<br/>[README.md]"]
  node_python_ds["Python DS<br/>data tooling<br/>[README.md]"]
  node_intro_ml["ML Intro<br/>problem framing<br/>[README.md]"]
  node_core_supervised["Supervised ML<br/>modeling core<br/>[README.md]"]
  node_unsupervised["Unsupervised<br/>pattern discovery<br/>[README.md]"]
  node_dl_core["DL Core<br/>neural foundations<br/>[README.md]"]
  node_vision_nlp["Vision + NLP<br/>specialized deep learning<br/>[README.md]"]
  node_deployment["Deployment<br/>serving boundary<br/>[README.md]"]
  node_mlops["MLOps<br/>lifecycle ops<br/>[README.md]"]
  node_time_series["Time Series<br/>temporal modeling<br/>[README.md]"]
  node_essentials["Essentials<br/>cross-cutting skills<br/>[README.md]"]
  node_electives["Electives<br/>advanced branches<br/>[README.md]"]
end

subgraph group_projects["Projects"]
  node_projects_beginner["Beginner Projects<br/>applied labs<br/>[README.md]"]
  node_projects_intermediate["Intermediate Projects<br/>applied labs<br/>[README.md]"]
  node_projects_advanced["Advanced Projects<br/>capstones<br/>[README.md]"]
end

subgraph group_tracks["Parallel Tracks"]
  node_system_design["System Design<br/>parallel curriculum<br/>[README.md]"]
  node_full_stack_track["Full-Stack AI<br/>product engineering track<br/>[README.md]"]
  node_examples_track["Example Track<br/>sample implementation<br/>[README.md]"]
end

subgraph group_support["Support"]
  node_resources_hub["Resources<br/>reference hub"]
  node_contrib["Contributing<br/>repo governance<br/>[CONTRIBUTING.md]"]
  node_tools["Tools<br/>repo automation<br/>[README.md]"]
end

node_readme -->|"orients"| node_learning_roadmap
node_readme -->|"onboards"| node_getting_started
node_learning_roadmap -->|"starts with"| node_prereqs
node_prereqs -->|"feeds"| node_python_ds
node_python_ds -->|"enables"| node_intro_ml
node_intro_ml -->|"leads to"| node_core_supervised
node_core_supervised -->|"extends to"| node_unsupervised
node_unsupervised -->|"bridges to"| node_dl_core
node_dl_core -->|"branches into"| node_vision_nlp
node_vision_nlp -->|"operationalizes"| node_deployment
node_deployment -->|"stabilizes"| node_mlops
node_mlops -->|"broadens to"| node_time_series
node_time_series -->|"supported by"| node_essentials
node_essentials -->|"complements"| node_electives
node_core_supervised -->|"practiced in"| node_projects_beginner
node_dl_core -->|"practiced in"| node_projects_intermediate
node_deployment -->|"applied in"| node_projects_advanced
node_mlops -->|"applied in"| node_projects_advanced
node_essentials -->|"used in"| node_projects_intermediate
node_electives -->|"extends"| node_projects_advanced
node_resources_hub -->|"supports"| node_system_design
node_resources_hub -->|"supports"| node_full_stack_track
node_full_stack_track -->|"demonstrates"| node_examples_track
node_tools -->|"maintains"| node_readme
node_contrib -->|"governs"| node_tools
node_resources_hub -->|"informs"| node_projects_advanced
node_system_design -->|"connects"| node_mlops

click node_readme "https://github.com/nabidalam/road-to-machine-learning/blob/main/README.md"
click node_learning_roadmap "https://github.com/nabidalam/road-to-machine-learning/blob/main/LEARNING_ROADMAP.md"
click node_getting_started "https://github.com/nabidalam/road-to-machine-learning/blob/main/GETTING_STARTED.md"
click node_prereqs "https://github.com/nabidalam/road-to-machine-learning/blob/main/00-prerequisites/README.md"
click node_python_ds "https://github.com/nabidalam/road-to-machine-learning/blob/main/01-python-for-data-science/README.md"
click node_intro_ml "https://github.com/nabidalam/road-to-machine-learning/blob/main/02-introduction-to-ml/README.md"
click node_core_supervised "https://github.com/nabidalam/road-to-machine-learning/blob/main/03-supervised-learning-regression/README.md"
click node_unsupervised "https://github.com/nabidalam/road-to-machine-learning/blob/main/08-unsupervised-learning/README.md"
click node_dl_core "https://github.com/nabidalam/road-to-machine-learning/blob/main/09-neural-networks-basics/README.md"
click node_vision_nlp "https://github.com/nabidalam/road-to-machine-learning/blob/main/11-computer-vision/README.md"
click node_deployment "https://github.com/nabidalam/road-to-machine-learning/blob/main/13-model-deployment/README.md"
click node_mlops "https://github.com/nabidalam/road-to-machine-learning/blob/main/14-mlops-basics/README.md"
click node_time_series "https://github.com/nabidalam/road-to-machine-learning/blob/main/15-time-series-analysis/README.md"
click node_essentials "https://github.com/nabidalam/road-to-machine-learning/blob/main/19-sql-database-fundamentals/README.md"
click node_electives "https://github.com/nabidalam/road-to-machine-learning/blob/main/22-reinforcement-learning/README.md"
click node_projects_beginner "https://github.com/nabidalam/road-to-machine-learning/blob/main/16-projects-beginner/README.md"
click node_projects_intermediate "https://github.com/nabidalam/road-to-machine-learning/blob/main/17-projects-intermediate/README.md"
click node_projects_advanced "https://github.com/nabidalam/road-to-machine-learning/blob/main/18-projects-advanced/README.md"
click node_system_design "https://github.com/nabidalam/road-to-machine-learning/blob/main/system-design/README.md"
click node_full_stack_track "https://github.com/nabidalam/road-to-machine-learning/blob/main/resources/full_stack_track/README.md"
click node_examples_track "https://github.com/nabidalam/road-to-machine-learning/blob/main/examples/full_stack_track/README.md"
click node_contrib "https://github.com/nabidalam/road-to-machine-learning/blob/main/CONTRIBUTING.md"
click node_tools "https://github.com/nabidalam/road-to-machine-learning/blob/main/tools/README.md"

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_readme,node_learning_roadmap,node_getting_started toneBlue
class node_prereqs,node_python_ds,node_intro_ml,node_core_supervised,node_unsupervised,node_dl_core,node_vision_nlp,node_deployment,node_mlops,node_time_series,node_essentials,node_electives toneAmber
class node_projects_beginner,node_projects_intermediate,node_projects_advanced toneMint
class node_system_design,node_full_stack_track,node_examples_track toneRose
class node_resources_hub,node_contrib,node_tools toneIndigo
```

## Components

### Entry Docs

Top-level repository guides and navigation for the learning path.

- [README](https://github.com/nabidalam/road-to-machine-learning/blob/main/README.md): overview docs · Repository landing page and high-level orientation. · `README.md`
- [Roadmap](https://github.com/nabidalam/road-to-machine-learning/blob/main/LEARNING_ROADMAP.md): curriculum guide · Canonical learning sequence across the numbered modules. · `LEARNING_ROADMAP.md`
- [Start Here](https://github.com/nabidalam/road-to-machine-learning/blob/main/GETTING_STARTED.md): quick start · Onboarding and first steps for using the repository. · `GETTING_STARTED.md`

### Curriculum Spine

Numbered learning modules from prerequisites through advanced ML and GenAI.

- [Prereqs](https://github.com/nabidalam/road-to-machine-learning/blob/main/00-prerequisites/README.md): foundations · Python basics, math, statistics, and environment setup. · `00-prerequisites/README.md`
- [Python DS](https://github.com/nabidalam/road-to-machine-learning/blob/main/01-python-for-data-science/README.md): data tooling · NumPy, Pandas, visualization, EDA, and lightweight app/data interfaces. · `01-python-for-data-science/README.md`
- [ML Intro](https://github.com/nabidalam/road-to-machine-learning/blob/main/02-introduction-to-ml/README.md): problem framing · Problem identification, terminology, and algorithm selection. · `02-introduction-to-ml/README.md`
- [Supervised ML](https://github.com/nabidalam/road-to-machine-learning/blob/main/03-supervised-learning-regression/README.md): modeling core · Regression, classification, evaluation, optimization, ensembles, and feature engineering. · `03-supervised-learning-regression/README.md`
- [Unsupervised](https://github.com/nabidalam/road-to-machine-learning/blob/main/08-unsupervised-learning/README.md): pattern discovery · Clustering and dimensionality reduction for structure extraction. · `08-unsupervised-learning/README.md`
- [DL Core](https://github.com/nabidalam/road-to-machine-learning/blob/main/09-neural-networks-basics/README.md): neural foundations · Neural network basics and deep learning frameworks. · `09-neural-networks-basics/README.md`
- [Vision + NLP](https://github.com/nabidalam/road-to-machine-learning/blob/main/11-computer-vision/README.md): specialized deep learning · Computer vision and natural language processing branches. · `11-computer-vision/README.md`
- [Deployment](https://github.com/nabidalam/road-to-machine-learning/blob/main/13-model-deployment/README.md): serving boundary · Serialization, APIs, Docker, and cloud deployment patterns. · `13-model-deployment/README.md`
- [MLOps](https://github.com/nabidalam/road-to-machine-learning/blob/main/14-mlops-basics/README.md): lifecycle ops · Monitoring, CI/CD, experiment tracking, registry, and orchestration. · `14-mlops-basics/README.md`
- [Time Series](https://github.com/nabidalam/road-to-machine-learning/blob/main/15-time-series-analysis/README.md): temporal modeling · Forecasting and time-aware analysis as a specialized applied branch. · `15-time-series-analysis/README.md`
- [Essentials](https://github.com/nabidalam/road-to-machine-learning/blob/main/19-sql-database-fundamentals/README.md): cross-cutting skills · SQL, imbalanced data handling, and model explainability. · `19-sql-database-fundamentals/README.md`
- [Electives](https://github.com/nabidalam/road-to-machine-learning/blob/main/22-reinforcement-learning/README.md): advanced branches · Reinforcement learning, graph neural networks, audio/speech, and GenAI/LLMs. · `22-reinforcement-learning/README.md`

### Projects

Hands-on application tracks that integrate multiple curriculum modules.

- [Beginner Projects](https://github.com/nabidalam/road-to-machine-learning/blob/main/16-projects-beginner/README.md): applied labs · Entry-level project implementations for tabular ML and dashboards. · `16-projects-beginner/README.md`
- [Intermediate Projects](https://github.com/nabidalam/road-to-machine-learning/blob/main/17-projects-intermediate/README.md): applied labs · Projects that add more realistic modeling, segmentation, recommendation, and forecasting. · `17-projects-intermediate/README.md`
- [Advanced Projects](https://github.com/nabidalam/road-to-machine-learning/blob/main/18-projects-advanced/README.md): capstones · End-to-end and multimodal project paths, including chatbots, deployment, and explainability. · `18-projects-advanced/README.md`

### Parallel Tracks

Related but distinct tracks for system design and full-stack AI.

- [System Design](https://github.com/nabidalam/road-to-machine-learning/blob/main/system-design/README.md): parallel curriculum · Architecture, networking, storage, scaling, and system design exercises. · `system-design/README.md`
- [Full-Stack AI](https://github.com/nabidalam/road-to-machine-learning/blob/main/resources/full_stack_track/README.md): product engineering track · TypeScript, Node, SQL, Next.js, containers, cloud, and AI integration. · `resources/full_stack_track/README.md`
- [Example Track](https://github.com/nabidalam/road-to-machine-learning/blob/main/examples/full_stack_track/README.md): sample implementation · Supporting example area for the full-stack AI track. · `examples/full_stack_track/README.md`

### Support

Reference material, tooling, and contribution governance.

- **Resources**: reference hub · Curated cheatsheets, guides, roadmaps, interview prep, and external learning references.
- [Contributing](https://github.com/nabidalam/road-to-machine-learning/blob/main/CONTRIBUTING.md): repo governance · Contribution guidelines, issue templates, and pull request expectations. · `CONTRIBUTING.md`
- [Tools](https://github.com/nabidalam/road-to-machine-learning/blob/main/tools/README.md): repo automation · Repository validation scripts for links and markdown hygiene. · `tools/README.md`

## Connections

- README → Roadmap: orients · The landing page points to the canonical curriculum sequence.
- README → Start Here: onboards · Quick start material helps learners begin the path.
- Roadmap → Prereqs: starts with · The roadmap begins with foundations.
- Prereqs → Python DS: feeds · Foundations support data science tooling.
- Python DS → ML Intro: enables · Python and data handling prepare learners for ML framing.
- ML Intro → Supervised ML: leads to · Problem framing precedes supervised modeling.
- Supervised ML → Unsupervised: extends to · Core supervised topics broaden into unsupervised methods.
- Unsupervised → DL Core: bridges to · Classical ML transitions into neural network foundations.
- DL Core → Vision + NLP: branches into · Deep learning foundations feed domain-specific branches.
- Vision + NLP → Deployment: operationalizes · Specialized models move toward serving and deployment.
- Deployment → MLOps: stabilizes · Deployment evolves into lifecycle management and automation.
- MLOps → Time Series: broadens to · Operational ML skills are reused in time-aware modeling workflows.
- Time Series → Essentials: supported by · Cross-cutting skills reinforce practical modeling work.
- Essentials → Electives: complements · Essential capabilities support advanced elective branches.
- Supervised ML → Beginner Projects: practiced in · Introductory models are exercised in beginner projects.
- DL Core → Intermediate Projects: practiced in · Deep learning and broader ML skills are reinforced in intermediate projects.
- Deployment → Advanced Projects: applied in · Advanced projects incorporate serving and deployment concerns.
- MLOps → Advanced Projects: applied in · Capstones include lifecycle and production practices.
- Essentials → Intermediate Projects: used in · SQL, imbalance handling, and explainability show up across applied projects.
- Electives → Advanced Projects: extends · Specialized branches feed the advanced capstones.
- Resources → System Design: supports · Reference material backs the system design curriculum.
- Resources → Full-Stack AI: supports · Reference material backs the full-stack AI path.
- Full-Stack AI → Example Track: demonstrates · The track is reinforced by example implementations.
- Tools → README: maintains · Link checks and markdown hygiene preserve repository quality.
- Contributing → Tools: governs · Contribution rules support repo automation and review practices.
- Resources → Advanced Projects: informs · Guides and cheatsheets support capstone execution.
- System Design → MLOps: connects · Distributed system thinking complements production ML.
