Deep Learning: Theory and Practice - LEAP Laboratory...Deep Learning: Theory and Practice 14-02-2019...

Post on 19-Jun-2020

6 views 0 download

Transcript of Deep Learning: Theory and Practice - LEAP Laboratory...Deep Learning: Theory and Practice 14-02-2019...

Deep Learning: Theory and Practice

14-02-2019Linear and Logistic Models for

Classification

deeplearning.cce2019@gmail.com

Logistic Regression

Bishop - PRML book (Chap 3)

❖ 2- class logistic regression

❖ K-class logistic regression

❖ Maximum likelihood solution

❖ Maximum likelihood solution

Least Squares versus Logistic Regression

Bishop - PRML book (Chap 4)

Least Squares versus Logistic Regression

Bishop - PRML book (Chap 4)

Underfit

(Courtesy - Dr D. Vijayasenan, NITK)

Overfit

(Courtesy - Dr D. Vijayasenan, NITK)

Compromise

(Courtesy - Dr D. Vijayasenan, NITK)

Summary so far …

Bishop - PRML book (Chap 3)

❖ Maximum Likelihood

❖ Linear Least Squares Classifiers

❖ Logistic Regression

❖ Application of ML to Logistic Regression

❖ Gradient Descent

❖ Coding Logistic regression

Training, Validation and Test Set

Perceptron Algorithm

What if the data is not linearly separable

Perceptron Model [McCulloch, 1943, Rosenblatt, 1957]

Targets are binary classes [-1,1]

Multi-layer PerceptronMulti-layer Perceptron [Hopfield, 1982]

thresholding function

non-linear function (tanh,sigmoid)