Learn AI & Machine Learning from scratch with structured concepts, visual explanations, and practical resources.
See the code
[ MAP THE MACHINE // BUILD THE INTUITION ]
A progressive, visual-first curriculum for the systems behind modern intelligence.
MLRoadmap is an open learning hub for understanding artificial intelligence, machine learning, deep learning, NLP, transformers, LLMs, retrieval, RAG, and agents in the order that makes the ideas click.
The project is being built around a strict, iterative optimization loop:
The goal is not to collect definitions. Each concept should explain what it is, why it exists, how the mechanism works, and how to implement or reason about it.
Our curriculum avoids the "black box" approach. We map the entire AI landscape across interconnected, high-resolution nodes. No concept is introduced before its mathematical and conceptual foundation is fully laid out.
flowchart TB
%% Core Cyber Styles
classDef zone fill:#02040a,stroke:#333,stroke-width:2px,stroke-dasharray: 4 4,color:#888,rx:15,ry:15
classDef math fill:#001a1a,stroke:#00F0FF,stroke-width:3px,color:#fff,rx:8,ry:8
classDef ai fill:#1a0b2e,stroke:#8B5CF6,stroke-width:3px,color:#fff,rx:8,ry:8
classDef auto fill:#001f14,stroke:#10B981,stroke-width:3px,color:#fff,rx:8,ry:8
subgraph Phase1 ["🟦 PHASE 1: FOUNDATION PROTOCOLS"]
direction LR
M(["🧮 1. Mathematics"]):::math
ML(["⚙️ 2. ML Fundamentals"]):::math
M ===>|"Optimization"| ML
end
subgraph Phase2 ["🟪 PHASE 2: DEEP REPRESENTATION"]
direction LR
DL(["🧠 3. Deep Learning"]):::ai
NLP(["🗣️ 4. NLP"]):::ai
T(["🤖 5. Transformers"]):::ai
DL ===>|"Embeddings"| NLP ===>|"Attention"| T
end
subgraph Phase3 ["🟩 PHASE 3: AUTONOMOUS SYSTEMS"]
direction LR
LLM(["⚡ 6. LLMs"]):::auto
RAG(["📚 7. RAG"]):::auto
AGT(["🎯 8. Agents"]):::auto
LLM ===>|"Context"| RAG ===>|"Tools"| AGT
end
%% Cross-Phase Linking
ML ===>|"Backpropagation"| DL
T ===>|"Scaling"| LLM
%% Apply Zone styling
class Phase1,Phase2,Phase3 zone;
%% Glowing Link Styles
linkStyle 0 stroke:#00F0FF,stroke-width:4px
linkStyle 1 stroke:#8B5CF6,stroke-width:4px
linkStyle 2 stroke:#8B5CF6,stroke-width:4px
linkStyle 3 stroke:#10B981,stroke-width:4px
linkStyle 4 stroke:#10B981,stroke-width:4px
linkStyle 5 stroke:#4578fa,stroke-width:4px,stroke-dasharray: 5 5
linkStyle 6 stroke:#4c8b74,stroke-width:4px,stroke-dasharray: 5 5
| Layer | The Core Question | Architectural Focus |
|---|---|---|
| Mathematics | What are the underlying operations? | Vectors, matrices, probability, calculus |
| ML Fundamentals | How do models learn from data? | Regression, classification, loss, optimization |
| Deep Learning | How do layered representations emerge? | Neural networks, backpropagation, regularization |
| NLP | How can machines represent language? | Tokenization, embeddings, sequence modeling |
| Transformers | How can a model route information? | Attention, positional mapping, encoder-decoders |
| LLMs | How do models generate thought? | Pretraining, fine-tuning, inference, evaluation |
| RAG | How can models use external memory? | Retrieval, chunking, embeddings, generation |
| Agents | How can models plan and use tools? | Loops, memory, tool use, orchestration, safety |
The platform runs on a lightweight, highly-optimized Next.js and MDX pipeline. Markdown files are dynamically parsed, injected with interactive React components, and served at edge speeds.
flowchart TD
%% Component Styles
classDef file fill:#040508,stroke:#333,stroke-width:2px,color:#aaa,stroke-dasharray: 5 5,rx:5
classDef engine fill:#0A0D14,stroke:#00F0FF,stroke-width:2px,color:#fff,rx:15
classDef plugin fill:#0A0D14,stroke:#8B5CF6,stroke-width:1px,color:#fff,rx:10
classDef output fill:#10B981,stroke:#000,stroke-width:2px,color:#000,font-weight:bold,rx:5
%% Elements (Fixed parse error by wrapping string in quotes)
F1(["📄 content/concepts/*.mdx"]):::file
F2(["⚙️ lib/mdx.ts + gray-matter"]):::engine
F1 -->|"Reads file system"| F2
subgraph MDX ["⚛️ Next.js MDX Compiler"]
direction TB
P1(["rehype-katex / remark-math"]):::plugin
P2(["Mermaid React Component"]):::plugin
end
F2 -->|"Raw Markdown + Meta"| MDX
MDX -->|"Dynamic Routing"| O1(["🚀 Interactive Concept Page"]):::output
%% Edge Styling
linkStyle 0 stroke:#00F0FF,stroke-width:3px
linkStyle 1 stroke:#8B5CF6,stroke-width:3px
linkStyle 2 stroke:#10B981,stroke-width:3px
Want to run the platform locally or test a new module?
# 1. Clone the core repository
git clone [https://github.com/YOUR-USERNAME/ai-learning-hub.git](https://github.com/YOUR-USERNAME/ai-learning-hub.git)
# 2. Enter the directory
cd ai-learning-hub
# 3. Install node dependencies
npm install
# 4. Boot up the cyber engine
npm run dev
Access the portal: Open
http://localhost:3000
New learning changes should make the path clearer, more accurate, or more useful. We welcome module additions from our conceptual roadmap.
git checkout -b feature/add-backpropagation.mdx file inside content/concepts/.---
title: "Name of Concept"
order: 4
category: "Deep Learning"
difficulty: "Intermediate"
description: "A short, 1-2 sentence description of the concept."
---
$$) for equations and Mermaid (<Mermaid chart="..." />) for diagrams.npm run lint
npm run build
git add .
git commit -m "feat: add backpropagation module"
git push -u origin feature/add-backpropagation
Found a hallucination, a mathematical inaccuracy, or a broken Mermaid diagram?
Open a new issue from the repository's Issues tab with:
.mdx file where the problem appears.Built for future AI engineers. Learn the mechanism. Question the output. Build with intent.
Learn AI & Machine Learning from scratch with structured concepts, visual explanations, and practical resources.
See the code
[ MAP THE MACHINE // BUILD THE INTUITION ]
A progressive, visual-first curriculum for the systems behind modern intelligence.
MLRoadmap is an open learning hub for understanding artificial intelligence, machine learning, deep learning, NLP, transformers, LLMs, retrieval, RAG, and agents in the order that makes the ideas click.
The project is being built around a strict, iterative optimization loop:
The goal is not to collect definitions. Each concept should explain what it is, why it exists, how the mechanism works, and how to implement or reason about it.
Our curriculum avoids the "black box" approach. We map the entire AI landscape across interconnected, high-resolution nodes. No concept is introduced before its mathematical and conceptual foundation is fully laid out.
flowchart TB
%% Core Cyber Styles
classDef zone fill:#02040a,stroke:#333,stroke-width:2px,stroke-dasharray: 4 4,color:#888,rx:15,ry:15
classDef math fill:#001a1a,stroke:#00F0FF,stroke-width:3px,color:#fff,rx:8,ry:8
classDef ai fill:#1a0b2e,stroke:#8B5CF6,stroke-width:3px,color:#fff,rx:8,ry:8
classDef auto fill:#001f14,stroke:#10B981,stroke-width:3px,color:#fff,rx:8,ry:8
subgraph Phase1 ["🟦 PHASE 1: FOUNDATION PROTOCOLS"]
direction LR
M(["🧮 1. Mathematics"]):::math
ML(["⚙️ 2. ML Fundamentals"]):::math
M ===>|"Optimization"| ML
end
subgraph Phase2 ["🟪 PHASE 2: DEEP REPRESENTATION"]
direction LR
DL(["🧠 3. Deep Learning"]):::ai
NLP(["🗣️ 4. NLP"]):::ai
T(["🤖 5. Transformers"]):::ai
DL ===>|"Embeddings"| NLP ===>|"Attention"| T
end
subgraph Phase3 ["🟩 PHASE 3: AUTONOMOUS SYSTEMS"]
direction LR
LLM(["⚡ 6. LLMs"]):::auto
RAG(["📚 7. RAG"]):::auto
AGT(["🎯 8. Agents"]):::auto
LLM ===>|"Context"| RAG ===>|"Tools"| AGT
end
%% Cross-Phase Linking
ML ===>|"Backpropagation"| DL
T ===>|"Scaling"| LLM
%% Apply Zone styling
class Phase1,Phase2,Phase3 zone;
%% Glowing Link Styles
linkStyle 0 stroke:#00F0FF,stroke-width:4px
linkStyle 1 stroke:#8B5CF6,stroke-width:4px
linkStyle 2 stroke:#8B5CF6,stroke-width:4px
linkStyle 3 stroke:#10B981,stroke-width:4px
linkStyle 4 stroke:#10B981,stroke-width:4px
linkStyle 5 stroke:#4578fa,stroke-width:4px,stroke-dasharray: 5 5
linkStyle 6 stroke:#4c8b74,stroke-width:4px,stroke-dasharray: 5 5
| Layer | The Core Question | Architectural Focus |
|---|---|---|
| Mathematics | What are the underlying operations? | Vectors, matrices, probability, calculus |
| ML Fundamentals | How do models learn from data? | Regression, classification, loss, optimization |
| Deep Learning | How do layered representations emerge? | Neural networks, backpropagation, regularization |
| NLP | How can machines represent language? | Tokenization, embeddings, sequence modeling |
| Transformers | How can a model route information? | Attention, positional mapping, encoder-decoders |
| LLMs | How do models generate thought? | Pretraining, fine-tuning, inference, evaluation |
| RAG | How can models use external memory? | Retrieval, chunking, embeddings, generation |
| Agents | How can models plan and use tools? | Loops, memory, tool use, orchestration, safety |
The platform runs on a lightweight, highly-optimized Next.js and MDX pipeline. Markdown files are dynamically parsed, injected with interactive React components, and served at edge speeds.
flowchart TD
%% Component Styles
classDef file fill:#040508,stroke:#333,stroke-width:2px,color:#aaa,stroke-dasharray: 5 5,rx:5
classDef engine fill:#0A0D14,stroke:#00F0FF,stroke-width:2px,color:#fff,rx:15
classDef plugin fill:#0A0D14,stroke:#8B5CF6,stroke-width:1px,color:#fff,rx:10
classDef output fill:#10B981,stroke:#000,stroke-width:2px,color:#000,font-weight:bold,rx:5
%% Elements (Fixed parse error by wrapping string in quotes)
F1(["📄 content/concepts/*.mdx"]):::file
F2(["⚙️ lib/mdx.ts + gray-matter"]):::engine
F1 -->|"Reads file system"| F2
subgraph MDX ["⚛️ Next.js MDX Compiler"]
direction TB
P1(["rehype-katex / remark-math"]):::plugin
P2(["Mermaid React Component"]):::plugin
end
F2 -->|"Raw Markdown + Meta"| MDX
MDX -->|"Dynamic Routing"| O1(["🚀 Interactive Concept Page"]):::output
%% Edge Styling
linkStyle 0 stroke:#00F0FF,stroke-width:3px
linkStyle 1 stroke:#8B5CF6,stroke-width:3px
linkStyle 2 stroke:#10B981,stroke-width:3px
Want to run the platform locally or test a new module?
# 1. Clone the core repository
git clone [https://github.com/YOUR-USERNAME/ai-learning-hub.git](https://github.com/YOUR-USERNAME/ai-learning-hub.git)
# 2. Enter the directory
cd ai-learning-hub
# 3. Install node dependencies
npm install
# 4. Boot up the cyber engine
npm run dev
Access the portal: Open
http://localhost:3000
New learning changes should make the path clearer, more accurate, or more useful. We welcome module additions from our conceptual roadmap.
git checkout -b feature/add-backpropagation.mdx file inside content/concepts/.---
title: "Name of Concept"
order: 4
category: "Deep Learning"
difficulty: "Intermediate"
description: "A short, 1-2 sentence description of the concept."
---
$$) for equations and Mermaid (<Mermaid chart="..." />) for diagrams.npm run lint
npm run build
git add .
git commit -m "feat: add backpropagation module"
git push -u origin feature/add-backpropagation
Found a hallucination, a mathematical inaccuracy, or a broken Mermaid diagram?
Open a new issue from the repository's Issues tab with:
.mdx file where the problem appears.Built for future AI engineers. Learn the mechanism. Question the output. Build with intent.