Ohmwork
0 XP
S14Senior depth

Machine learning

Fits models by least squares, maximum likelihood and Bayesian inference and reasons about generalization with Hoeffding and VC bounds; makes decisions under uncertainty with costs, reject options and information-theoretic losses; uses conjugate priors, Gaussian conditioning and Bayesian regression with error bars; chooses model complexity by cross-validation, AIC, BIC and the evidence; builds and evaluates linear classifiers, logistic regression, generative classifiers and nearest-neighbor methods with precision, recall, ROC curves and significance tests; designs, backpropagates and trains neural networks, including convolutional, recurrent and attention-based ones, and sizes transformers and their caches; reasons with Bayesian networks and passes messages on chains; applies kernels, support vector machines and Gaussian processes; approximates posteriors by Laplace's method and variational inference; fits mixtures by EM, reduces dimension with PCA, tracks hidden Markov models and samples by MCMC; combines trees into ensembles; learns policies from rewards; and estimates the compute, memory, bandwidth and energy of running a network on hardware. Four labs build regression with cross-validation and the evidence, classifiers with ROC analysis, the core pieces of neural networks, and Viterbi, MCMC and boosting from scratch; a machine learning lab and a clustering project complete the set.

0%0 of 55 pages

Test out of S14Already know this? Answer a few questions from its final exam, pass, and the whole course counts as finished.

130 h · 55 pages · After A7, A11, A4

Unit 1Fitting, likelihood, decisions and information6
  1. Learning from data70 min
  2. Likelihood and Bayes' theorem for learning65 min
  3. Decision theory65 min
  4. Information theory for learning65 min
  5. Generalization bounds2 h
  6. Problem set 1: fitting, likelihood, decisions and informationProblem set · 4 h
Unit 2Conjugate priors, Gaussians and regression5
  1. Bayesian inference with conjugate priors65 min
  2. The Gaussian distribution in learning65 min
  3. Linear regression and the bias–variance trade-off70 min
  4. Bayesian linear regression70 min
  5. Problem set 2: conjugate priors, Gaussians and regressionProblem set · 4 h
Unit 3Generalization, inference and model selection3
  1. Model selection and cross-validation2 h
  2. Regression lab: least squares, cross-validation and the evidenceLab · 2 h
  3. Problem set 3: generalization, inference and model selectionProblem set · 4 h
Unit 4Classification and evaluation8
  1. Linear classification70 min
  2. Logistic regression65 min
  3. Generative classifiers70 min
  4. Nearest neighbors and the curse of dimensionality2 h
  5. Classification lab: Fisher, neighbors, ROC curves and naive BayesLab · 2 h
  6. Evaluating models70 min
  7. Anomaly detection85 min
  8. Problem set 4: classification and evaluationProblem set · 4 h
  1. Midterm examMidterm · 4 h
Unit 5Neural networks7
  1. Neural networks70 min
  2. Backpropagation70 min
  3. Training networks70 min
  4. Recurrent networks and sequences1.5 h
  5. Regularization and convolutional networks70 min
  6. Attention and transformers1.5 h
  7. Problem set 5: neural networksProblem set · 4 h
Unit 6Kernels, SVMs, Gaussian processes and mixtures8
  1. Graphical models2 h
  2. Kernel methods70 min
  3. Support vector machines70 min
  4. Gaussian processes70 min
  5. Approximate inference85 min
  6. Mixture models and EM70 min
  7. Neural network lab: stable losses, recurrent gradients, attention and AdamLab · 2 h
  8. Problem set 6: kernels, SVMs, Gaussian processes and mixturesProblem set · 4 h
Unit 7Sequences, attention, graphical models and approximate inference1
  1. Problem set 7: sequences, attention, graphical models and approximate inferenceProblem set · 4 h
Unit 8PCA, sequences, sampling, ensembles and hardware9
  1. Principal component analysis70 min
  2. Random projections85 min
  3. Hidden Markov models70 min
  4. Sampling and Markov chain Monte Carlo70 min
  5. Decision trees and ensembles70 min
  6. Latent variable and sampling lab: Viterbi, Metropolis, Gibbs and boostingLab · 2 h
  7. Reinforcement learning2 h
  8. Running neural networks on hardware70 min
  9. Problem set 8: PCA, sequences, sampling, ensembles and hardwareProblem set · 4 h
Unit 9Latent variables, sampling, ensembles, reinforcement learning and hardware1
  1. Problem set 9: latent variables, sampling, ensembles, reinforcement learning and hardwareProblem set · 4 h
Unit 10Machine learning across the course3
  1. Machine learning labLab · 2 h
  2. Clustering project: EM and principal componentsProject · 2 h
  3. Problem set 10: machine learning across the courseProblem set · 4 h
Unit 11Designing learning systems1
  1. Problem set 11: designing learning systemsProblem set · 4 h
Unit 12Learning systems in hardware and signals1
  1. Problem set 12: learning systems in hardware and signalsProblem set · 4 h
  1. Final examFinal exam · 4 h