CSC 411: Lecture 08: Generative Models for Classification
Class based on Raquel Urtasun & Rich Zemel’s lectures Sanja Fidler
University of Toronto
Feb 5, 2016
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 1 / 23
CSC 411: Lecture 08: Generative Models for Classification Class - - PowerPoint PPT Presentation
CSC 411: Lecture 08: Generative Models for Classification Class based on Raquel Urtasun & Rich Zemels lectures Sanja Fidler University of Toronto Feb 5, 2016 Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 1 /
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 1 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 2 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 3 / 23
◮ learn mappings directly from the space of inputs X to class labels
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 4 / 23
◮ or try to learn p(y|x) directly Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 5 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 6 / 23
◮ learn p(y|x) directly (logistic regression models) ◮ learn mappings from inputs to classes (least-squares, neural nets)
◮ Build a model of p(x|y) ◮ Apply Bayes Rule Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 7 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 8 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 9 / 23
C
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 10 / 23
C
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 11 / 23
N
N
N
N
N
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 12 / 23
dµ
dσ2
2 ln
n=1 (x(n)−µ)2 2σ2
n=1 (x(n)−µ)2 2σ2
n=1 2(x(n) − µ)
N
n=1 x(n)
n=1 x(n)
N
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 13 / 23
2 ln
n=1 (x(n)−µ)2 2σ2
n=1(x(n) − µ)2
n=1(x(n) − µ)2
n=1(x(n) − µ)2
n=1(x(n) − µ)2
N
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 14 / 23
N
N
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 15 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 16 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 17 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 18 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 19 / 23
C
C
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 20 / 23
C
c
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 21 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 22 / 23
Urtasun, Zemel, Fidler (UofT) CSC 411: 08-Generative Models Feb 5, 2016 23 / 23