# Introduction to Machine Learning

**University of California, Berkeley**, Fall 2024

Welcome to CS 189/289A! This class covers theoretical foundations, algorithms, methodologies, and applications for machine learning. Topics may include supervised methods for regression and classication (linear models, trees, neural networks, ensemble methods, instance-based methods); generative and discriminative probabilistic models; deep learning models including CNNs, transformers, graph neural networks for vision and language tasks; and Markovian models for reinforcement learning and robotics.

**Textbook:** *Deep Learning* by Bishop and Bishop.

Professors will post slides prior to lecture at this Google Drive folder (for faster access). The material here is redundant with the website, but it may take up to a day or two for the website to get updated with the slides after lecture. The “Post-Lecture” subfolder contains updates to slides that the professors may make right after lecture.

**Note:** The topics for future lectures, discussions, and HWs are **tentative** and may be moved around, changed, or removed.

## Overview

### Week 1

8/29 | Lecture 1 Introduction and Logistics | |

Homework 1 Math Review Due 9/11 11:59pm) |

### Week 2

9/3 | Lecture 2 Maximum Likelihood Estimation | |

Discussion 0 Math Pre-Requisites Review | ||

9/5 | Lecture 3 Multivariate Gaussians |

### Week 3

9/10 | Lecture 4 Linear Regression 1 | |

Discussion 1 MLE & Gaussians | ||

9/12 | Lecture 5 Linear Regression 2 | |

Homework 2 Linear/Logistic Regression & Classification Due 9/25 11:59pm) |

### Week 4

9/17 | Lecture 6 Classification - Generative & Discriminative | |

Discussion 2 Linear Regression | ||

9/19 | Lecture 7 Logistic Regression & Neural Networks |

### Week 5

9/24 | Lecture 8 Backpropagation and Gradient Descent 1 | |

Discussion 3 Classification & Logistic Regression | ||

9/26 | Lecture 9 Backpropagation and Gradient Descent 2 | |

Homework 3 Neural Networks Due 10/9 11:59pm) |

### Week 6

10/1 | Lecture 10 Neural Networks - CNNs, Batch Norm, & ResNets | |

Discussion 4 Neural Networks and Training | ||

10/3 | Lecture 11 Neural Networks - Attention & Transformers |

### Week 7

10/8 | Lecture 12 Dimensionality Reduction & PCA | |

Discussion 5 Convolution and Attention | ||

10/10 | Lecture 13 t-SNE | |

Homework 4 Dimensionality Reduction & Decision Theory Due 10/23 11:59pm) |

### Week 8

10/15 | Lecture 14 Clustering | |

Discussion 6 Dimensionality Reduction Techniques | ||

10/16 | Midterm (7-9pm, Dwinelle 155) | |

10/17 | Lecture 15 Multiway Classification, Decision Theory, & Model Evaluation |

### Week 9

10/22 | Lecture 16 Nearest Neighbors & Metric Learning | |

Discussion 7 Clustering and Decision Theory | ||

10/24 | Lecture 17 Decision Trees & Ensembling | |

Homework 5 Bias/Variance, Nearest Neighbors, Decision Trees Due 11/6 11:59pm) |

### Week 10

10/29 | Lecture 18 Bias-Variance Tradeoff & Over/Under-Fitting | |

Discussion 8 Bias/Variance and Nearest Neighbors | ||

10/31 | Lecture 19 Hidden Markov Models & Graphical Models 1 |

### Week 11

11/5 | Lecture 20 Hidden Markov Models & Graphical Models 2 | |

Discussion 9 Decision Trees and HMMs Intro | ||

11/7 | Lecture 21 Markov Decision Processes | |

Homework 6 Markovian Models & Reinforcement Learning Due 11/20 11:59pm) |

### Week 12

11/12 | Lecture 22 Reinforcement Learning | |

Discussion 10 HMMs Advanced and MDPs | ||

11/14 | Lecture 23 Robotics and Machine Learning |

### Week 13

11/19 | Lecture 24 Graph Neural Networks & Rotational Equivariance 1 | |

Discussion 11 MDPs & Reinforcement Learning | ||

11/21 | Lecture 25 Graph Neural Networks & Rotational Equivariance 2 | |

Homework 7 Graph Neural Networks & Applications of Deep Learning Due 12/4 11:59pm) |

### Week 14

11/26 | Lecture 26 Language and Vision Applications | |

11/28 | No Lecture (Thanksgiving) |

### Week 15

12/3 | Lecture 27 Special Topics - Causality | |

Discussion 12 Graph Neural Networks | ||

12/5 | Lecture 28 Special Topics - Computational Biology |

### Week 16 (RRR Week)

No lectures or discussions this week |

### Week 17 (Finals Week)

12/17 | Final Exam (8-11am, location TBD) |