esm machine learning 5주차 review by mario cho

72
온수당 기계학습 (Machine Learning) 5주차 review Mario Cho (조만석) [email protected]

Upload: mario-cho

Post on 16-Apr-2017

211 views

Category:

Data & Analytics


4 download

TRANSCRIPT

Page 1: ESM Machine learning 5주차 Review by Mario Cho

온수당 기계학습 (Machine Learning)

5주차 review

Mario Cho (조만석)

[email protected]

Page 2: ESM Machine learning 5주차 Review by Mario Cho

Contents

• 기계학습 개요

• 딥러닝 기술

• 기계학습 1~5주차 정리

• 기계학습 응용기술

• Q&A

Page 3: ESM Machine learning 5주차 Review by Mario Cho

Who am I ?

Development Experience Bio-Medical Data Processing based on HPC

for Human Brain Mapping

Bio-medical data processing based on Neural Network (Machine Learning)

Medical Image Reconstruction

(Computer Tomography)

Enterprise System

Open Source Software Developer

Open Source Software Enigeer

Linux Kernel & LLVM OpenStack & OPNFV (NFV&SDN) Machine Learning

Technical Book Unix V6 Kernel

Open Frontier Lab.

Manseok (Mario) Cho

[email protected]

Page 4: ESM Machine learning 5주차 Review by Mario Cho

The Future of Jobs

“The Fourth Industrial Revolution, which

includes developments in previously

disjointed fields such as

artificial intelligence & machine-learning,

robotics, nanotechnology, 3-D printing,

and genetics & biotechnology,

will cause widespread disruption not only

to business models but also to labor

market over the next five years, with

enormous change predicted in the skill

sets needed to thrive in the new

landscape.”

Page 5: ESM Machine learning 5주차 Review by Mario Cho
Page 6: ESM Machine learning 5주차 Review by Mario Cho

Evolution of information technology

* http://www.cray.com/Assets/Images/urika/edge/analytics-infographic.html

Page 7: ESM Machine learning 5주차 Review by Mario Cho

Evolution of information technology

* http://www.cray.com/Assets/Images/urika/edge/analytics-infographic.html

Page 8: ESM Machine learning 5주차 Review by Mario Cho

Evolution of information technology

* http://www.cray.com/Assets/Images/urika/edge/analytics-infographic.html

Page 9: ESM Machine learning 5주차 Review by Mario Cho

Today’s information

* http://www.cray.com/Assets/Images/urika/edge/analytics-infographic.html

Page 10: ESM Machine learning 5주차 Review by Mario Cho

Evolution of Computer hardware

Page 11: ESM Machine learning 5주차 Review by Mario Cho

기계학습? 인공지능?

Page 12: ESM Machine learning 5주차 Review by Mario Cho

?

Page 13: ESM Machine learning 5주차 Review by Mario Cho

New type of Computing

i. Understanding information,

ii. To Learn,

iii. To Reason,

iv. Act upon it

Page 14: ESM Machine learning 5주차 Review by Mario Cho

Human Intelligence

Page 15: ESM Machine learning 5주차 Review by Mario Cho

Brain Map

Page 16: ESM Machine learning 5주차 Review by Mario Cho

사랑은???

Page 17: ESM Machine learning 5주차 Review by Mario Cho

사랑은 뇌가 한다.

Page 18: ESM Machine learning 5주차 Review by Mario Cho

Neuron

Page 19: ESM Machine learning 5주차 Review by Mario Cho

hippocampus

Page 20: ESM Machine learning 5주차 Review by Mario Cho

Neural network vs Learning network Neural Network Deep Learning Network

Page 21: ESM Machine learning 5주차 Review by Mario Cho

What is the Machine Learning ?

• Field of Computer Science that evolved from the study of pattern recognition and computational learning theory into Artificial Intelligence.

• Its goal is to give computers the ability to learn without being explicitly programmed.

• For this purpose, Machine Learning uses mathematical / statistical techniques to construct models from a set of observed data rather than have specific set of instructions entered by the user that define the model for that set of data.

Page 22: ESM Machine learning 5주차 Review by Mario Cho

Today’s Data Analysis

Page 23: ESM Machine learning 5주차 Review by Mario Cho

Advanced computing provide cognitive

Page 24: ESM Machine learning 5주차 Review by Mario Cho

Image recognition in Google Map

* Source: Oriol Vinyals – Research Scientist at Google Brain

Page 25: ESM Machine learning 5주차 Review by Mario Cho

Language Generating

* Source: Oriol Vinyals – Research Scientist at Google Brain

Page 26: ESM Machine learning 5주차 Review by Mario Cho

Week1

• Machine Learning

Supervised learning (지도학습)

Unsupervised learning (비지도 학습)

Reinforced learning (강화학습)

Recommended system (추천 시스템)

Page 27: ESM Machine learning 5주차 Review by Mario Cho

Supervised learning

-> given “right answer”

I. Regressing

-> predict real-valued output

I. Classification

-> predict discrete valued output

Week1 Supervised learning (Regression)

Page 28: ESM Machine learning 5주차 Review by Mario Cho

Week1 Supervised learning (Classification)

Page 29: ESM Machine learning 5주차 Review by Mario Cho

Week1 Supervised vs Unsupervised

Given the “right answer” Not given the right answer

-> Fine similarity

-> express probability

Page 30: ESM Machine learning 5주차 Review by Mario Cho

Hypothesis

Page 31: ESM Machine learning 5주차 Review by Mario Cho

Cost function

Page 32: ESM Machine learning 5주차 Review by Mario Cho

Hypothesis , Cost function

Page 33: ESM Machine learning 5주차 Review by Mario Cho

Learning rate

Page 34: ESM Machine learning 5주차 Review by Mario Cho

gradient descent

Page 35: ESM Machine learning 5주차 Review by Mario Cho

Multiple feature

Page 36: ESM Machine learning 5주차 Review by Mario Cho

Multiple feature

Page 37: ESM Machine learning 5주차 Review by Mario Cho

Gradient descent vs Normal Equation

Page 38: ESM Machine learning 5주차 Review by Mario Cho

Normalization

Page 39: ESM Machine learning 5주차 Review by Mario Cho

Classification , Logistic regression

Classification Logistic regression

Page 40: ESM Machine learning 5주차 Review by Mario Cho

Logistic regression

Page 41: ESM Machine learning 5주차 Review by Mario Cho

Logistic cost function

Page 42: ESM Machine learning 5주차 Review by Mario Cho

Multi-feature logistic regression

Page 43: ESM Machine learning 5주차 Review by Mario Cho

Regularization

Page 44: ESM Machine learning 5주차 Review by Mario Cho

Neural Network

Page 45: ESM Machine learning 5주차 Review by Mario Cho

X1 xnor X2

+1

x1

x2

+1

a1(2)

a2(2)

a1(3)

-30

20

20

10

-20

-10

-10

20

20

x1 x2 a1(2) a2(2) a1(3)

0 0 0 1 1

0 1 0 0 0

1 0 0 0 0

1 1 1 0 0

Page 46: ESM Machine learning 5주차 Review by Mario Cho

NN cost function

Page 47: ESM Machine learning 5주차 Review by Mario Cho

Forward propagation

Page 48: ESM Machine learning 5주차 Review by Mario Cho

backward propagation

Page 49: ESM Machine learning 5주차 Review by Mario Cho

Traditional learning vs Deep Machine Learning

Eiffel Tower

Eiffel Tower

RAW data

RAW data

Deep

Learning

Network

Feature

Extraction

Vectored Classification

Traditional Learning

Deep Learning

Page 50: ESM Machine learning 5주차 Review by Mario Cho

Deep learning - CNN

Page 51: ESM Machine learning 5주차 Review by Mario Cho

Hierarchical Representation of Deep Learning

* Source: : Honglak Lee and colleagues (2011) as published in “Unsupervised Learning of Hierarchical Representations

with Convolutional Deep Belief Networks”.

Page 52: ESM Machine learning 5주차 Review by Mario Cho

* Source: : Honglak Lee and colleagues (2011) as published in “Unsupervised Learning of Hierarchical Representations

with Convolutional Deep Belief Networks”.

Deep Learning (object parts)

Page 53: ESM Machine learning 5주차 Review by Mario Cho

Tic Tac Toc

Page 54: ESM Machine learning 5주차 Review by Mario Cho

AlphaGo

RAW

data

Layer1

Policy network & value network

Selection

Expansions

Evaluation

Backup

~ Layer13

Page 55: ESM Machine learning 5주차 Review by Mario Cho

AlphaGo

Page 56: ESM Machine learning 5주차 Review by Mario Cho

Open Source Software for Machine Learning

Caffe

Theano

Convnet.js

Torch7

Chainer

DL4J

TensorFlow

Neon

SANOA

Summingbird

Apache SA

Flink ML

Mahout

Spark MLlib

RapidMiner

Weka

Knife

Scikit-learn

Amazon ML

BigML

DataRobot

FICO

Google

prediction API

HPE haven

OnDemand

IBM Watson

PurePredictive

Yottamine

Deep

Learning Stream

Analytics Big Data

Machine Learning

Data

Mining

Machine Learning

As a Service

Pylearn2

Page 57: ESM Machine learning 5주차 Review by Mario Cho

MNIST

Page 58: ESM Machine learning 5주차 Review by Mario Cho

MNIST (predict number of image)

Page 59: ESM Machine learning 5주차 Review by Mario Cho

CNN (convolution neural network) training

Page 60: ESM Machine learning 5주차 Review by Mario Cho

MNIST training theta

Page 61: ESM Machine learning 5주차 Review by Mario Cho

MNIST code

Page 62: ESM Machine learning 5주차 Review by Mario Cho

기계학습의 응용분야

응용 분야 적용 사례

인터넷 정보검색 텍스트 마이닝, 웹로그 분석, 스팸필터, 문서 분류, 여과, 추출, 요약, 추천

컴퓨터 시각 문자 인식, 패턴 인식, 물체 인식, 얼굴 인식, 장면전환 검출, 화상 복구

음성인식/언어처리 음성 인식, 단어 모호성 제거, 번역 단어 선택, 문법 학습, 대화 패턴 분석

모바일 HCI 동작 인식, 제스쳐 인식, 휴대기기의 각종 센서 정보 인식, 떨림 방지

생물정보 유전자 인식, 단백질 분류, 유전자 조절망 분석, DNA 칩 분석, 질병 진단

바이오메트릭스 홍채 인식, 심장 박동수 측정, 혈압 측정, 당뇨치 측정, 지문 인식

컴퓨터 그래픽 데이터기반 애니메이션, 캐릭터 동작 제어, 역운동학, 행동 진화, 가상현실

로보틱스 장애물 인식, 물체 분류, 지도 작성, 무인자동차 운전, 경로 계획, 모터 제어

서비스업 고객 분석, 시장 클러스터 분석, 고객 관리(CRM), 마켓팅, 상품 추천

제조업 이상 탐지, 에너지 소모 예측, 공정 분석 계획, 오류 예측 및 분류

Source: 장병탁, 차세대 기계학습 기술, 정보과학회지, 25(3), 2007

Page 63: ESM Machine learning 5주차 Review by Mario Cho

Speech Recognition (Acoustic Modeling)

• ~2010 GMM-HMM (Dynamic Bayesian Models)

• ~2013 DNN-HMM (Deep Neural Networks)

• ~Current LSTM-RNN (Recurrent Neural Networks)

Page 64: ESM Machine learning 5주차 Review by Mario Cho

Movie Recommendations in Netflix

Source: Xavier Amatriain – July 2014 – Recommender Systems

Page 65: ESM Machine learning 5주차 Review by Mario Cho

Human-Level Object Recognition

• ImageNet

• Large-Scale Visual Recognition Challenge

Image Classification / Localization 1.2M labeled images, 1000 classes Convolutional Neural Networks (CNNs) has been dominating the contest since..

2012 non-CNN: 26.2% (top-5 error)

2012: (Hinton, AlexNet)15.3%

2013: (Clarifai) 11.2%

2014: (Google, GoogLeNet) 6.7%

2015: (Google) 4.9%

Beyond human-level performance

Page 66: ESM Machine learning 5주차 Review by Mario Cho

ILSVRC (Image-net Large Scale Visual Recognition Challenge)

Page 67: ESM Machine learning 5주차 Review by Mario Cho

How to the Object recognition ?

Page 68: ESM Machine learning 5주차 Review by Mario Cho

Human-Level Face Recognition

• Convolutional neural networks based face recognition system is dominant

• 99.15% face verification accuracy on

LFW dataset in DeepID2 (2014) Beyond human-level recognition

Source: Taigman et al. DeepFace: Closing the Gap to Human-Level Performance in Face Verification, CVPR’14

Page 69: ESM Machine learning 5주차 Review by Mario Cho

Face recognition?

Page 70: ESM Machine learning 5주차 Review by Mario Cho

Emphasis?

Page 71: ESM Machine learning 5주차 Review by Mario Cho

How the TensorFlow is used today

Page 72: ESM Machine learning 5주차 Review by Mario Cho

Thanks you!

Q&A