Download presentation
Presentation is loading. Please wait.
1
ECE 5424: Introduction to Machine Learning
Topics: Regression Readings: Barber 17.1, 17.2 Stefan Lee Virginia Tech
2
Administrativia HW1 Project Proposal HW2 39 Submissions
58 Students Enrolled 19 MIA (?????) Project Proposal Due: 09/21, 11:55 pm (LESS THAN A WEEK!) <= 2pages, NIPS format HW2 Out today Due on Wednesday 09/28, 11:55pm Please please please please please start early Implement Linear Regression, Naïve Bayes, Logistic Regression (C) Dhruv Batra
3
Recap of last time (C) Dhruv Batra
4
Learning a Gaussian Collect a bunch of data Learn parameters
Hopefully, i.i.d. samples e.g., exam scores Learn parameters Mean Variance (C) Dhruv Batra
5
MLE for Gaussian Prob. of i.i.d. samples D={x1,…,xN}:
Log-likelihood of data: (C) Dhruv Batra Slide Credit: Carlos Guestrin
6
Your second learning algorithm: MLE for mean of a Gaussian
What’s MLE for mean? (C) Dhruv Batra Slide Credit: Carlos Guestrin
7
Learning Gaussian parameters
MLE: (C) Dhruv Batra
8
Bayesian learning of Gaussian parameters
Conjugate priors Mean: Gaussian prior Variance: Inverse Gamma or Wishart Distribution Prior for mean: (C) Dhruv Batra Slide Credit: Carlos Guestrin
9
MAP for mean of Gaussian
(C) Dhruv Batra Slide Credit: Carlos Guestrin
10
New Topic: Regression (C) Dhruv Batra
11
Figure Credit: Andrew Moore
1-NN for Regression Often bumpy (overfits) (C) Dhruv Batra Figure Credit: Andrew Moore
12
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
13
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
14
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
15
Linear Regression Demo
(C) Dhruv Batra
16
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
17
Plan for Today Regression Linear Regression Recap
Some matrix calculus review Connections with Gaussians The outlier problem Robust Least Squares (C) Dhruv Batra
18
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
19
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
20
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
21
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
22
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
23
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
24
But, why? Why sum squared error??? Gaussians, Watson, Gaussians…
(C) Dhruv Batra
25
Slide Credit: Greg Shakhnarovich
(C) Dhruv Batra Slide Credit: Greg Shakhnarovich
26
MLE Under Gaussian Model
On board (C) Dhruv Batra
27
Is OLS Robust? Demo Bad things happen when the data does not come from your model! How do we fix this? (C) Dhruv Batra
28
Robust Linear Regression
y ~ Lap(w’x, b) On board (C) Dhruv Batra
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.