# Principles and Techniques of Data Science

**Frequently Asked Questions:** Before posting on the class Piazza, please read the class FAQ page.

UC Berkeley, Fall 2021

- Aug 26
**Lecture 1**Intro- Aug 27
**Homework 1**Intro + Prerequisites (due Sept 2)**Lab 1**Prerequisite Coding (due Aug 31)- Aug 30
N/A

- Aug 31
**Lecture 2**Data Sampling and Probability I**Live Lab**- Sep 1
N/A

- Sep 2
**Lecture 3**Data Sampling and Probability II- Sep 3
**Discussion 2**Probability (solutions)**Homework 2**Sampling Error and Bias (due Sept 10)**Lab 2**Pandas (due Sept 8)- Sep 6
Labor Day

- Sep 7
**Lecture 4**Pandas I**Live Lab**- Sep 8
N/A

- Sep 9
**Lecture 5**Pandas II- Sep 10
**Homework 3**Food Safety (due Sept 16)**Lab 3**Data Cleaning and Visualization (due Sept 14)- Sep 27
N/A

- Sep 28
**Lecture 10**Visualization I**Live Lab**- Sep 29
N/A

- Sep 30
**Lecture 11**Visualization II- Oct 1
**Discussion 6**Visualization (solutions)**Homework 6**Bike Sharing (due Oct 7)**Lab 6**Modeling, Summary Statistics, and Loss Functions (due Oct 5)- Oct 4
N/A

- Oct 5
**Lecture 12**Modeling**Live Lab**- Oct 6
N/A

- Oct 7
**Lecture 13**Simple Linear Regression- Oct 8
**Discussion 7**Modeling and Linear Regression (solutions)**Homework 7**Regression (on paper) (due Oct 14)**Lab 7**Simple Linear Regression (due Oct 12)- Oct 11
N/A

- Oct 12
**Lecture 14**Ordinary Least Squares**Live Lab**- Oct 13
N/A

- Oct 14
**Lecture 15**Modeling in Context: Fairness in Housing Appraisal- Oct 15
**Discussion 8**Multiple Linear Regression and HCE (solutions)**Homework 8**Housing I (due Oct 21)**Lab 8**Multiple Linear Regression & Feature Engineering (due Oct 19)- Oct 18
N/A

- Oct 19
**Lecture 16**Feature Engineering**Live Lab**- Oct 20
N/A

- Oct 21
**Lecture 17**Bias and Variance- Oct 22
**Discussion 9**Feature Engineering and Bias-Variance Tradeoff (notebook) (solutions)**Homework 9**Housing II (due Oct 28)**Lab 9**Content Review (optional, no due date)**Lab 10**Cross-Validation and Regularization (due Nov 4)- Oct 25
N/A

- Oct 26
**Lecture 18**Regularization and Cross-Validation**Live Lab**- Oct 27
N/A

- Oct 28
**Lecture 19**Guest Lecture: Physical Data and the Climate- Oct 29
**Discussion 10**Regularization and Cross-Validation (solutions)**No Homework**Midterm on 11/1**Lab 10**Cross-Validation and Regularization (due Nov 4)- Nov 1
**Midterm**Midterm (7-9 pm)- Nov 2
**Lecture 20**Gradient Descent**Live Lab**- Nov 3
**Final Project**Project Part 1**Final Project**Project Part 1 Spec- Nov 4
**Lecture 21**Dimensionality Reduction & PCA- Nov 5
**Final Project**Project Group Form due**Discussion 11**Gradient Descent (solutions)**Homework 10**PCA (due Nov 12)**Lab 11**PCA (due Nov 9)- Nov 8
**Final Project**Project Dataset Form due- Nov 9
**Lecture 22**Logistic Regression I**Live Lab****Grad Project**Research Proposal and Project Groups due- Nov 10
N/A

- Nov 11
Veterans Day

- Nov 12
**Discussion 12**Logistic Regression I and PCA**Homework 11**Gradient Descent and Logistic Regression (due Nov 19)**Lab 12**Climate Data (due Nov 17)- Nov 15
N/A

- Nov 16
**Lecture 23**Logistic Regression II and Classification**Live Lab**- Nov 17
**Final Project**Design Document Due- Nov 18
**Lecture 24**Decision Trees- Nov 19
**Final Project**Design Document Review**Discussion 13**Decision Trees (walkthrough video)**Homework 12**Spam & Ham I (due Nov 29)**Lab 13**Logistic Regression (due Nov 23)- Nov 22
**Grad Project**Project Checkpoint- Nov 23
**Final Project**Alternate Design Document Review**Lecture 25**Inference for Modeling**Live Lab****Final Project**Project Part 2**Final Project**Project Part 2 Spec- Nov 24
N/A (Thanksgiving)

- Nov 25
N/A (Thanksgiving)

- Nov 26
**No Discussion**(Thanksgiving)- Nov 27
**Lab 14**Decision Trees & Random Forests (due Dec 2)- Nov 29
**Homework 13**Spam & Ham II (due Dec 5)- Nov 30
**Lecture 26**Clustering**Live Lab**- Dec 1
**Grad Project**First Report Draft due- Dec 2
**Lecture 27**Guest Lecture: The Social Cost of Carbon**Grad Project**Peer Grading starts- Dec 3
**Discussion 14**Decision Trees, Inference, & Clustering**Homework 14**(optional) Taxis (due Dec 12)**Lab 15**(optional) Clustering (due Dec 7)- Dec 6
**Grad Project**Peer Grading due- Dec 7
Review

- Dec 9
Review

- Dec 13
**Final Project**Final Project due**Grad Project**Revised Report due- Dec 15
**Grad Project**Project Video due**Final Project**Part 2 Peer Evaluations