Deep Learning - Theory and Practice Linear Regression, Least Squares - - PowerPoint PPT Presentation

deep learning theory and practice
SMART_READER_LITE
LIVE PREVIEW

Deep Learning - Theory and Practice Linear Regression, Least Squares - - PowerPoint PPT Presentation

Deep Learning - Theory and Practice Linear Regression, Least Squares 20-02-2020 Classification and Logistic Regression http://leap.ee.iisc.ac.in/sriram/teaching/DL20/ deeplearning.cce2020@gmail.com Least Squares for Classification K-class


slide-1
SLIDE 1

Deep Learning - Theory and Practice

20-02-2020

Linear Regression, Least Squares Classification and Logistic Regression

http://leap.ee.iisc.ac.in/sriram/teaching/DL20/ deeplearning.cce2020@gmail.com

slide-2
SLIDE 2

Least Squares for Classification

Bishop - PRML book (Chap 3)

❖ K-class classification problem ❖ With 1-of-K hot encoding, and

least squares regression

slide-3
SLIDE 3
slide-4
SLIDE 4
slide-5
SLIDE 5

Logistic Regression

Bishop - PRML book (Chap 3)

❖ 2- class logistic regression ❖ K-class logistic regression ❖ Maximum likelihood solution ❖ Maximum likelihood solution

slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11

Typical Error Surfaces

Typical Error Surface as a function of parameters (weights and biases)

slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14

Learning with Gradient Descent

Error surface close to a local

slide-15
SLIDE 15

Learning Using Gradient Descent

slide-16
SLIDE 16

Parameter Learning

  • Solving a non-convex
  • ptimization.
  • Iterative solution.
  • Depends on the initialization.
  • Convergence to a local
  • ptima.
  • Judicious choice of learning

rate

slide-17
SLIDE 17

Least Squares versus Logistic Regression

Bishop - PRML book (Chap 4)

slide-18
SLIDE 18

Least Squares versus Logistic Regression

Bishop - PRML book (Chap 4)

slide-19
SLIDE 19

Neural Networks

slide-20
SLIDE 20

Perceptron Algorithm

What if the data is not linearly separable Perceptron Model [McCulloch, 1943, Rosenblatt, 1957] Targets are binary classes [-1,1]

slide-21
SLIDE 21

Multi-layer Perceptron

Multi-layer Perceptron [Hopfield, 1982] thresholding function non-linear function (tanh,sigmoid)

slide-22
SLIDE 22

Neural Networks

Multi-layer Perceptron [Hopfield, 1982] thresholding function non-linear function (tanh,sigmoid)

  • Useful for classifying non-linear data boundaries -

non-linear class separation can be realized given enough data.

slide-23
SLIDE 23

Neural Networks

tanh sigmoid ReLu Cost-Function are the desired outputs Mean Square Error Cross Entropy Types of Non-linearities

slide-24
SLIDE 24

Learning Posterior Probabilities with NNs

Choice of target function

  • Softmax function for classification
  • Softmax produces positive values that sum to 1
  • Allows the interpretation of outputs as posterior

probabilities