machine learningneural networksdeep learning

Machine Learning Fundamentals

Modern AI rests on a handful of ideas that get named constantly and explained rarely. What they actually mean: how neural networks learn, what makes transformers work, and the optimization behind both — drawn from MIT, Stanford, Berkeley, and Princeton course materials.

Introduction to Machine Learning

Settles the first question in any ML project: is this classification or regression, do you have labels or not, and how will you know whether the result is any good. Covers supervised and unsupervised learning and the evaluation metrics everything else gets judged by.

University Course Materials

MIT

6.390 Introduction to Machine Learning · Tommi Jaakkola, Regina Barzilay

Stanford

CS229 Machine Learning · Andrew Ng

UC Berkeley

CS189/289A Introduction to Machine Learning · Jonathan Shewchuk

Princeton

COS 324 Introduction to Machine Learning · Sanjeev Arora, Danqi Chen

Cornell

CS4780 Machine Learning for Intelligent Systems · Kilian Weinberger

Caltech

CS156 Learning From Data · Yaser Abu-Mostafa

Neural Networks

How a network turns being wrong into a corrected weight. Backpropagation and gradient descent are the mechanism, and activation functions like ReLU are what let a network model anything more interesting than a straight line.

University Course Materials

MIT

6.390 Introduction to Machine Learning

Princeton

COS 324 Introduction to Machine Learning

UC Berkeley

CS189/289A Introduction to Machine Learning

Cornell

CS4780 Machine Learning for Intelligent Systems

Caltech

CS156 Learning From Data

Deep Learning

Why stacking layers needs its own techniques. What convolutional networks exploit about images, what the hidden layers end up representing, and what batch normalization and residual connections are actually fixing once a network gets deep.

University Course Materials

MIT

6.390 Introduction to Machine Learning

Stanford

CS229 Machine Learning

Princeton

COS 324 Introduction to Machine Learning

UC Berkeley

CS189/289A Introduction to Machine Learning

Transformers & Attention

What is happening inside every language model you use. Self-attention decides which tokens matter to each other, multi-head attention runs that comparison several ways at once, and positional encoding restores the word order attention alone discards.

University Course Materials

MIT

6.390 Introduction to Machine Learning

Stanford

CS229 Machine Learning

Princeton

COS 324 Introduction to Machine Learning

UC Berkeley

CS189/289A Introduction to Machine Learning

External Resources

The Illustrated Transformer
Jay Alammar

Visual walkthrough of how transformers work

Attention Is All You Need
arXiv

Original transformer paper from Google Brain

HuggingFace NLP Course
HuggingFace

Free course on transformers and modern NLP

Optimization & Training

Why training is finicky and what the knobs actually do. How stochastic gradient descent differs from the plain version, what Adam adapts, and why the learning rate is the single setting most likely to decide whether a model converges at all.

University Course Materials

MIT

6.390 Introduction to Machine Learning

Princeton

COS 324 Introduction to Machine Learning

UC Berkeley

CS189/289A Introduction to Machine Learning

Cornell

CS4780 Machine Learning for Intelligent Systems

Caltech

CS156 Learning From Data

Practical ML

The gap between a model that scores well and a system that works. Choosing an evaluation split that does not flatter you, tuning hyperparameters without overfitting to your own test set, handling imbalanced data, and what changes once it has to run in production.

University Course Materials

Stanford

CS229 Machine Learning

Cornell

CS4780 Machine Learning for Intelligent Systems

UC Berkeley

CS189/289A Introduction to Machine Learning

External Resources

Rules of Machine Learning
Google

Best practices for ML engineering

MLOps: Machine Learning Operations
ml-ops.org

Guide to productionizing ML systems

Related Study Packs

agent harnessesembeddings vector search