Skip to content

Chapter Index

Browse all available chapters in the Berta curriculum. Each chapter includes notebooks, exercises, scripts, and SVG diagrams.


Foundation Track

Master the essentials needed for all AI work.

  • Ch 1: Python Fundamentals for AI
    8h · 3 notebooks, 6 exercises, 3 SVGs
    Variables, types, control flow, OOP, file I/O, decorators

  • Ch 2: Data Structures & Algorithms
    6h · 3 notebooks, 5 exercises, 3 SVGs
    Arrays, Big-O, searching; stacks, queues, sorting; trees, graphs, DP

  • Ch 3: Linear Algebra & Calculus
    10h · 3 notebooks, 5 exercises, 3 SVGs
    Vectors, norms; matrices, NumPy; gradients and backpropagation

  • Ch 4: Probability & Statistics
    8h · 3 notebooks, 5 exercises, 3 SVGs
    Probability, conditional; distributions, Bayes, CLT; hypothesis testing, A/B tests

  • Ch 5: Software Design
    6h · 3 notebooks, 5 exercises, 3 SVGs
    Clean code, PEP 8; design patterns; project structure, testing


Practitioner Track

Apply your knowledge to real-world ML and AI problems.

  • Ch 6: Introduction to Machine Learning
    8h · 3 notebooks, 5 exercises, 3 SVGs
    What is ML, first model; features, evaluation, bias-variance; churn capstone

  • Ch 7: Supervised Learning
    10h · 3 notebooks, 5 exercises, 3 SVGs
    Regression, regularization; classification, SVM, ROC; ensembles, tuning, credit-risk

  • Ch 8: Unsupervised Learning
    8h · 3 notebooks, 5 exercises, 3 SVGs
    K-Means, hierarchical, DBSCAN; PCA, t-SNE; anomaly detection, customer segmentation

  • Ch 9: Deep Learning Fundamentals
    12h · 3 notebooks, 5 exercises, 3 SVGs
    Neural networks from scratch, PyTorch, CNNs, RNNs/LSTMs, image classification

  • Ch 10: Natural Language Processing Basics
    8–10h · 3 notebooks, 2 problem sets, 3 Mermaid diagrams
    Tokenization, TF-IDF, embeddings, sentiment, NER, text classification, attention intro

  • Ch 11: Large Language Models & Transformers
    10h · 3 notebooks, 2 problem sets, 3 Mermaid diagrams
    Self-attention, transformer architecture, pretrained LLMs, generation strategies

  • Ch 12: Prompt Engineering & In-Context Learning
    6h · 3 notebooks, 2 problem sets, Mermaid diagrams
    Prompt patterns, few-shot, chain-of-thought, system prompts, generation params

  • Ch 13: Retrieval-Augmented Generation
    8h · 3 notebooks, 2 problem sets, Mermaid diagrams
    Embeddings, vector search, RAG architecture, chunking, evaluation

  • Ch 14: Fine-tuning & Adaptation
    8h · 3 notebooks, 2 problem sets, Mermaid diagrams
    Full fine-tuning, LoRA/QLoRA, instruction tuning, evaluation, cost trade-offs

  • Ch 15: MLOps & Model Deployment
    8h · 3 notebooks, 2 problem sets, 3 Mermaid diagrams
    Packaging, FastAPI serving, registries, CI/CD, drift monitoring


Advanced Track

Master complex topics and specialized domains.

  • Ch 16: Multi-Agent Systems Architecture
    10h · 3 notebooks, 2 problem sets, 3 Mermaid diagrams
    Agents, message passing, Contract-Net allocation, consensus, orchestration

  • Ch 17: Advanced RAG & Knowledge Systems
    10h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    BM25, dense retrieval, Reciprocal Rank Fusion, reranking, retrieval metrics

  • Ch 18: Reinforcement Learning Fundamentals
    12h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    MDPs, value functions, Q-learning on a gridworld, policy gradients

  • Ch 19: Model Optimization & Inference
    8h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    int8 quantization, pruning, knowledge distillation, latency vs throughput

  • Ch 20: Building Production AI Systems
    10h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    Rate limiting, circuit breakers, canary rollouts, observability, SLOs

  • Ch 21: AI for Finance
    10h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    Returns, Sharpe, drawdown, MA-crossover strategy, honest backtesting

  • Ch 22: AI Safety & Alignment
    8h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    Content filtering, reward models/RLHF, fairness metrics, red-teaming

  • Ch 23: Building Your Own AI Products
    8h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    RICE prioritization, unit economics (LTV/CAC), retention, funnels

  • Ch 24: Research & Cutting-Edge Techniques
    8h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    Reading papers, attention from scratch, mixture-of-experts in NumPy

  • Ch 25: AI Governance & Ethics
    6h · 3 notebooks, 2 problem sets, 2 Mermaid diagrams
    EU AI Act risk tiers, model cards, risk matrices, accountability


Quick Reference

Chapter Track Time Notebooks Exercises SVGs
1: Python Fundamentals Foundation 8h 3 6 3
2: Data Structures & Algorithms Foundation 6h 3 5 3
3: Linear Algebra & Calculus Foundation 10h 3 5 3
4: Probability & Statistics Foundation 8h 3 5 3
5: Software Design Foundation 6h 3 5 3
6: Intro to ML Practitioner 8h 3 5 3
7: Supervised Learning Practitioner 10h 3 5 3
8: Unsupervised Learning Practitioner 8h 3 5 3
9: Deep Learning Fundamentals Practitioner 12h 3 5 3
10: Natural Language Processing Basics Practitioner 8–10h 3 2 3
11: Large Language Models & Transformers Practitioner 10h 3 2 3
12: Prompt Engineering & In-Context Learning Practitioner 6h 3 2
13: Retrieval-Augmented Generation Practitioner 8h 3 2
14: Fine-tuning & Adaptation Practitioner 8h 3 2
15: MLOps & Model Deployment Practitioner 8h 3 2 3
16: Multi-Agent Systems Architecture Advanced 10h 3 2 3
17: Advanced RAG & Knowledge Systems Advanced 10h 3 2 2
18: Reinforcement Learning Fundamentals Advanced 12h 3 2 2
19: Model Optimization & Inference Advanced 8h 3 2 2
20: Building Production AI Systems Advanced 10h 3 2 2
21: AI for Finance Advanced 10h 3 2 2
22: AI Safety & Alignment Advanced 8h 3 2 2
23: Building Your Own AI Products Advanced 8h 3 2 2
24: Research & Cutting-Edge Techniques Advanced 8h 3 2 2
25: AI Governance & Ethics Advanced 6h 3 2 2

All Tracks Complete

Chapters 1–25 are available

The full curriculum — Foundation, Practitioner, and Advanced tracks — is complete and runnable offline.

Want something not covered? Request a custom chapter on any AI topic.


Created by Luigi Pascal Rondanini | Generated by Berta AI