Machine Learning to Deep Learning2 Tutorial code https

  • Slides: 24
Download presentation
Machine Learning to Deep Learning_2 Tutorial code: https: //github. com/leejaymin/Tensor. Flow. Lecture 2017. 02.

Machine Learning to Deep Learning_2 Tutorial code: https: //github. com/leejaymin/Tensor. Flow. Lecture 2017. 02. 03 Jemin Lee (leejaymin@cnu. ac. kr) Hompage: https: //leejaymin. github. io/index. html 1 / 24

Table of Contents • Fundamental Machine Learning (1일차) § Linear Regression: Gradient Descent Algorithm

Table of Contents • Fundamental Machine Learning (1일차) § Linear Regression: Gradient Descent Algorithm (optimization) § Logistic Regression (Single Neuron=Perceptron): Sigmoid (Logistic function), Convexity, Cross Entropy, Decision Boundary § Multiple Perceptron (Hidden Layer): Backpropagation algorithm • Deep Neural Network Breakthrough (2 -3일차) § Rebirth of Neural Network, renamed DNN § Tensor. Flow Basic § DNN, Re. LU, Pre-training, Dropout § Convolutional Neural Network (CNN) • How to apply DNN into real world problem (4일차) § Use-case: smarttention 2016 2 / 24

Deep Learning Framework 3 / 24

Deep Learning Framework 3 / 24

왜 Tensor. Flow 인가? 4 / 24

왜 Tensor. Flow 인가? 4 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 5 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 5 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 6 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 6 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 7 / 24

Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 7 / 24

Architecture Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 8 / 24

Architecture Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 8 / 24

Portable & Scalable Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 9 /

Portable & Scalable Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 9 / 24

How is Tensor. Flow used at Google? • Recognizing Images with Inception • Voice

How is Tensor. Flow used at Google? • Recognizing Images with Inception • Voice Recognition • Smart reply in inbox by Gmail Large-Scale Deep Learning With Tensor. Flow, Jeff. Dean 2016 10 / 24

실습: Basic Tensor. Flow 11 / 24

실습: Basic Tensor. Flow 11 / 24

실습 2: MNIST 13 / 24

실습 2: MNIST 13 / 24

Coursera, Machine Learning, Andrew Ng 15 / 24

Coursera, Machine Learning, Andrew Ng 15 / 24

Diagnosing bias vs. variance • High Bias problem == underfitting • High variance problem

Diagnosing bias vs. variance • High Bias problem == underfitting • High variance problem == overfitting Coursera, Machine Learning, Andrew Ng 16 / 24

Coursera, Machine Learning, Andrew Ng 17 / 24

Coursera, Machine Learning, Andrew Ng 17 / 24

Learning curves[1/3] Coursera, Machine Learning, Andrew Ng 18 / 24

Learning curves[1/3] Coursera, Machine Learning, Andrew Ng 18 / 24

Learning curves[2/3] Coursera, Machine Learning, Andrew Ng 19 / 24

Learning curves[2/3] Coursera, Machine Learning, Andrew Ng 19 / 24

Learning curves[3/3] Coursera, Machine Learning, Andrew Ng 20 / 24

Learning curves[3/3] Coursera, Machine Learning, Andrew Ng 20 / 24

Summarized bias vs. variance Coursera, Machine Learning, Andrew Ng 21 / 24

Summarized bias vs. variance Coursera, Machine Learning, Andrew Ng 21 / 24

Coursera, Machine Learning, Andrew Ng 22 / 24

Coursera, Machine Learning, Andrew Ng 22 / 24

 • 코드 위치 § https: //github. com/leejaymin/Tensor. Flow. Lecture/blob/master/4. MNIST/MNIST_Tutori al_DNN. ipynb 23

• 코드 위치 § https: //github. com/leejaymin/Tensor. Flow. Lecture/blob/master/4. MNIST/MNIST_Tutori al_DNN. ipynb 23 / 24

구현 내용 • 기본적인 MLP 구현 § One hidden layer § Testing accuracy: ~92%

구현 내용 • 기본적인 MLP 구현 § One hidden layer § Testing accuracy: ~92% • 11 -layer MLP with Re. LU § Re. LU, Sigmoid, Softmax § Testing accuracy: ~97% • Pre-training and Dropout § Xavier init. and new regularization § Testing accuracy: ~99% • Convolutional Neural Network § Testing accuracy: ? % 24 / 24