@techNmak: This GitHub repo is a goldmine if you want to deeply understand AI/ML, not just use it. Maths, CS & AI Compendium. Free…

X AI KOLs Timeline Tools

Summary

A free, intuition-first open textbook and GitHub repo covering maths, CS, and AI from fundamentals to cutting-edge topics, with an MCP server for AI assistants.

This GitHub repo is a goldmine if you want to deeply understand AI/ML, not just use it. Maths, CS & AI Compendium. Free. Henry filled notebooks for years with intuition-first, no fluff explanations while working in AI/ML. Friends used them to prep for DeepMind, OpenAI, Nvidia interviews. All got in. Now it's public. 20 chapters from vectors to bleeding-edge AI. Written with intuition first, real-world context, no hand-waving. Not written to survive an exam. Written to actually understand the stuff. What's covered: → Maths foundations - vectors, matrices, calculus, statistics, probability → Classical ML through distributed training and RL → Computational linguistics - transformers, attention, MoE, SSMs, LLM architectures → Computer vision - diffusion, flow matching, ViTs, SLAM, VR/AR → Audio & speech - ASR, TTS, WaveNet, Conformer, diarisation, source separation → Multimodal learning - CLIP, VLMs, image/video tokenisation, world models → Autonomous systems - VLAs, self-driving cars, space robots → SIMD & GPU programming - CUDA, Triton, ARM NEON, AVX, TPUs, WebGPU → AI inference - quantisation, speculative decoding, edge inference, cost optimisation → ML systems design - feature stores, A/B testing, recommendation, search, ads, fraud → Graph neural networks - geometric deep learning, 3D equivariant networks Only needs elementary maths and basic Python to start. MCP server included - Claude Code, Cursor, VS Code can use it as a knowledge base. Here's the GitHub Repo: https://github.com/HenryNdubuaku/maths-cs-ai-compendium…
Original Article
View Cached Full Text

Cached at: 07/13/26, 11:54 AM

This GitHub repo is a goldmine if you want to deeply understand AI/ML, not just use it.

Maths, CS & AI Compendium. Free.

Henry filled notebooks for years with intuition-first, no fluff explanations while working in AI/ML. Friends used them to prep for DeepMind, OpenAI, Nvidia interviews. All got in. Now it’s public.

20 chapters from vectors to bleeding-edge AI. Written with intuition first, real-world context, no hand-waving. Not written to survive an exam. Written to actually understand the stuff.

What’s covered: → Maths foundations - vectors, matrices, calculus, statistics, probability → Classical ML through distributed training and RL → Computational linguistics - transformers, attention, MoE, SSMs, LLM architectures → Computer vision - diffusion, flow matching, ViTs, SLAM, VR/AR → Audio & speech - ASR, TTS, WaveNet, Conformer, diarisation, source separation → Multimodal learning - CLIP, VLMs, image/video tokenisation, world models → Autonomous systems - VLAs, self-driving cars, space robots → SIMD & GPU programming - CUDA, Triton, ARM NEON, AVX, TPUs, WebGPU → AI inference - quantisation, speculative decoding, edge inference, cost optimisation → ML systems design - feature stores, A/B testing, recommendation, search, ads, fraud → Graph neural networks - geometric deep learning, 3D equivariant networks

Only needs elementary maths and basic Python to start.

MCP server included - Claude Code, Cursor, VS Code can use it as a knowledge base.

Here’s the GitHub Repo: https://github.com/HenryNdubuaku/maths-cs-ai-compendium…


HenryNdubuaku/maths-cs-ai-compendium

Source: https://github.com/HenryNdubuaku/maths-cs-ai-compendium

Maths, CS & AI Compendium

Logo

Read online: henryndubuaku.github.io/maths-cs-ai-compendium

Overview

Most textbooks bury good ideas under dense notation, skip the intuition, assume you already know half the material, and quickly get outdated in fast-moving fields like AI. This is an open, unconventional textbook covering maths, computing, and artificial intelligence from the ground up. Written for curious practitioners looking to deeply understand the stuff, not just survive an exam/interview.

Background

Over the past years working in AI/ML, I filled notebooks with intuition first, real-world context, no hand-waving explanations of maths, computing and AI concepts. In 2025, a few friends used these notes to prep for interviews at DeepMind, OpenAI, Nvidia etc. They all got in and currently perform well in their roles. Meanwhile I got in Y Combinator last year. So I’m sharing to everyone.

MCP Server

This repo includes an MCP server that lets any AI assistant (Claude Code, Cursor, VS Code, etc.) use the compendium as a knowledge base. It requires a local clone of the repo. Comes with tools for educational purposes and example implementations.

Outline

#ChapterSummaryStatus
01VectorsSpaces, magnitude, direction, norms, metrics, dot/cross/outer products, basis, dualityAvailable
02MatricesProperties, special types, operations, linear transformations, decompositions (LU, QR, SVD)Available
03CalculusDerivatives, integrals, multivariate calculus, Taylor approximation, optimisation and gradient descentAvailable
04StatisticsDescriptive measures, sampling, central limit theorem, hypothesis testing, confidence intervalsAvailable
05ProbabilityCounting, conditional probability, distributions, Bayesian methods, information theoryAvailable
06Machine LearningClassical ML, gradient methods, deep learning, reinforcement learning, distributed trainingAvailable
07Computational Linguisticssyntax, semantics, pragmatics, NLP, language models, RNNs, CNNs, attention, transformers, text diffusion, text OCR, MoE, SSMs, modern LLM architectures, NLP evaluationAvailable
08Computer Visionimage processing, object detection, segmentation, video processing, SLAM, CNNs, vision transformers, diffusion, flow matching, VR/ARAvailable
09Audio & SpeechDSP, ASR, TTS, voice & acoustic activity detection, diarisation, source separation, active noise cancellation, wavenet, conformerAvailable
10Multimodal Learningfusion strategies, contrastive learning, CLIP, VLMs, image/video tokenisation, cross-modal generation, unified architectures, world modelsAvailable
11Autonomous Systemsperception, robot learning, VLAs, self-driving cars, space robotsAvailable
12Graph Neural Networksgeometric deep learning, graph theory, GNNs, graph attention, Graph Transformers, 3D equivariant networksAvailable
13Computing & OSdiscrete maths, computer architecture, operating systems, concurrency, parallelism, programming languagesAvailable
14Data Structures & AlgorithmsBig O, recursion, backtracking, DP, arrays, hashing, linked lists, stacks, trees, graphs, sorting, binary searchAvailable
15Production Software EngineeringLinux, Git, codebase design, testing, CI/CD, Docker, model serving, MLOps, monitoring, best way to use coding agentsAvailable
16SIMD & GPU ProgrammingC++ for ML, how frameworks work, hardware fundamentals, ARM NEON/I8MM/SME2, x86 AVX, GPU/CUDA, Triton, TPUs, RISC-V, Vulkan, WebGPUAvailable
17AI Inferencequantisation, efficient architectures, serving and batching, edge inference, speculative decoding, cost optimisationAvailable
18ML Systems Designsystems fundamentals, cloud computing, distributed systems, ML lifecycle, feature stores, A/B testing, recommendation/search/ads/fraud design examplesAvailable

Foreword

A newborn’s brain is a newly initialised neural network, which trains from realworld data and experience into adulthood…until forever. Exceptional understanding of French with the flawless accent implies correct exposure to exceptional French and flawless accent. Similarly, great AI Researchers & engineers with excellent problem-skills imply quality knowledge consumed and exposure rich experience.

Now Kvashchev’s experiment was a long-term Serbian study demonstrating that intensive, three-year training in creative problem-solving can significantly boost intelligence, particularly fluid intelligence, adding 10-15 IQ points. There is such a thing as having a natuarally high IQ, similar to how quality weight initialisations yield better training, evidenced by nature-vs-nurture experimental findings.

However, the only advantage a high-IQ individual really has is the ability to learn/recognise patterns faster. But using a repeated pattern makes any concept absolutely learnable. Charles Darwin was considered a very average, if not below-average, student by his teachers and father. He described himself as not being quick-witted, feeling like a “slow processor” who needed time to soak in data.

Between 3-10yrs, I performed well academically, naturally grasping concepts without ever taking notes or revising. I got a bit cocky between 11-13 and dropped to the bottom half of an 80-student class with this technique. Now between 14-15, I began reading like a normal student, finishing 1st in my final secondary school semester. Early school curriculum works well with natural IQ but real-world talents are powered by quality knowledge consumption and execution intensity.

In fact, most students who perform well academically are just more studious, but the academic system is designed for fast learners. This compendium provides a rounded and well-connected flow of knowledge to facilitate better learning for the Darwins of the world. You only need elementary maths and basic python programming, everything else is picked up, just read and trust the process!

How To Study Better

First semester at university, I took 17 modules at once, grades were not great for it, so I used a technique:

Phase 1: Cumulative reading after classes Read each material after class, before bed. The next lecture, start all over until the current end, then fill knowledge gaps with additional research. This allows your brain to connect the patterns.

Phase 2: Shadow reading before exams Read each slide/note subtitle, close the book, then visualise and write an explanation for that concept. Only re-read what you missed, similar to masked-language modelling in machine learning. After the re-read, ultimately implement the concept in code after. You develop muscle memory for each concept.

This worked really well for my friends who were not very confident. In fact, one of these friends beat me in advanced engineering mathematics modeule, where we covered Hessians and Optimisation. She works at a big oil & gas firm today. The willingness of the soul matters more than the body we are working with (Rosenthal experiment).

Who is Henry Ndubuaku?

Read the GitHub profile!

Citation

@book{ndubuaku2025compendium,
  title     = {Maths, CS & AI Compendium},
  author    = {Henry Ndubuaku},
  year      = {2026},
  publisher = {GitHub},
  url       = {https://github.com/HenryNdubuaku/maths-cs-ai-compendium}
}

Similar Articles