SlideShare a Scribd company logo
R Sagemaker
Yan So
AWSKRUG #datascience
• / Yan So

• ML , 

, 3D , 

, 

• Digital TV Middleware 



• #r #aws #datascience #ml #deeplearning #reproducibility #predictable #travel
#beer #routinelife #bouldering #nz

• E: 13imso@gmail.com

L: https://www.linkedin.com/in/yanso

S: @yanso
• Why R?

• Why AWS Sagemaker?

• 

• Urbanbase AR 

AR 

https://j7e6c.app.goo.gl/J9vC





















• , , 

• Demo























• Search

• Category

• Filter

• Recommendation

AR 

=> !





=> Classification Problem ( )
Why deep learning?
• OpenCV

• Vision API Service

• Rule Based System

• Machine Learning

• Deep Learning
ModelData
Machine LearningData Model
Why NOT deep learning?
• OpenCV
• Vision API Service

• Rule Based System

• Machine Learning

• Deep Learning
/ ( ) 

1.
2. ( ..)

3. 

4. 

5. ML / 

6. Feature Extraction 

...
: https://www.slideshare.net/awskorea/amazon-sagemaker-awss-new-deep-learning-service-muhyun-kim
Model
• 

• 

#HTML #XML

R package: https://goo.gl/C7jR2e

• 

#Selenium

https://www.seleniumhq.org

R package: https://goo.gl/wqWf26

• Discussion
Model
• 4 ( / / / )

• 1,000 

• 

( 12,000 )

• 

AWS #S3

R Package: https://goo.gl/fVUx75
- R & Keras
• R & RStudio

( ) 

, 

, => , , , Running other codes in R

• Keras

TensorFlow, CNTK, Theano high-
level neural network API



• R & Keras with GPU

R Keras https://keras.rstudio.com

Tensorflow https://tensorflow.rstudio.com
-
• R Studio Server

https://www.rstudio.com/products/rstudio/download-server

• Install keras package

https://keras.rstudio.com
-
It takes just a couple of minutes!
- Transfer Learning
• The central concept is to use a more complex but successful pre-trained
DNN model to 'transfer' its learning to your more simplified (or equally but
not more complex) problem.

• Successful models have

Tuning Parameters

Featurisers



=> 

Reading: https://www.datasciencecentral.com/profiles/blogs/transfer-learning-deep-learning-for-everyone
- Transfer Learning
• Image Classification models

Xception

VGG16

VGG19

ResNet50

InceptionV3

Inception

ResNetV2

MobileNet

DenseNet

NASNet

• Pre-trained Model ?

=> 

=> ImageNet Database ? (x)
https://github.com/fchollet/deep-learning-models/releases
- Transfer Learning
Total params: 23,587,712
Trainable params: 23,534,592
Non-trainable params: 53,120
Total params: 23,587,712
Trainable params: 0
Non-trainable params: 23,587,712
Total params: 24,113,284
Trainable params: 525,572
Non-trainable params: 23,587,712
Total params: 23,587,712
Trainable params: 14,976,000
Non-trainable params: 8,611,712
- Transfer Learning
• Do a lot of training and validation experiments as possible
as you could (including Hyper Parameter Optimisation)

=> Atomisation?

• 

Training Data 

Data Argumentation

TL Model 

Optimiser 

Learning Rate

Fine Tuning
acc: 0.9003
loss: 0.2697
val_acc: 0.8935
val_loss: 0.2901
Elapsed Time: 32,176s
Overfitting
• R vs Python

R language is not popular as much as other languages

• Plumber

R web API (flask in Python)

https://www.rplumber.io

• AWS Sagemaker

( ) Dockerised Image ,
AWS AWS


• What's in the dockerised image?

R+Keras , Model Training/Prediction , Plumber
web invoke , Model Image
• What's in the dockerised image?

R+Keras , Model Training/Prediction , Plumber
web invoke , Model Image 





















• Amazon Lab 

https://github.com/awslabs/amazon-sagemaker-examples/tree/master/
advanced_functionality/r_bring_your_own
• GUI Endpoint 

• Google Spreadsheet Model Release Note


Version | Endpoint Name | Model Name | Changes
• 

Postman Endpoint 

Endpoint
base64
Prediction Result
• ( )



1. AWS Sagemaker SDK 



2. Postman Endpoint ( , Headers) 

- R package: https://cloudyr.github.io (AWS in R)

https://github.com/cloudyr/aws.signature (AWS signature)



3. AWS Lambda wrapping API 

• Discussion
Endpoint
Recommendation System
Recommendation System
• / / / 4 

• ( : 90%)

• AR 

• 

• Demo

https://youtu.be/bjm4vebHjgA
Recommendation System
• AWS Architecture
Recommendation System
• Response Time 

Multithreading Jobs

1. 

2. AWS Rekognition

3. S3 

Pre-Loading

plumber API running 

( API
)



base64 ( s3 < base64 < )
: https://www.slideshare.net/awskorea/amazon-sagemaker-awss-new-deep-learning-service-muhyun-kim
Many things left to do


ML Engineering



Job 

Reporting System

Visualisation

Endpoint health check

....



Recommendation System

Collaborative Filtering

Scoring

Response Time

Grouping & Segmentation

....
TODO
R Sagemaker
https://youtu.be/JlviFGa1Jh0
/
?
?
?
TRY IT
NO
YES
YES/NO

More Related Content

What's hot

AI on a Pi
AI on a PiAI on a Pi
AI on a Pi
Julien SIMON
 
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
AWSKRUG - AWS한국사용자모임
 
New AI/ML services at AWS re:Invent 2017
New AI/ML services at AWS re:Invent 2017New AI/ML services at AWS re:Invent 2017
New AI/ML services at AWS re:Invent 2017
Julien SIMON
 
SVG
SVGSVG
Amazon AI (October 2017)
Amazon AI (October 2017)Amazon AI (October 2017)
Amazon AI (October 2017)
Julien SIMON
 
Amazon sage maker infinitely scalable machine learning algorithms
Amazon sage maker infinitely scalable machine learning algorithmsAmazon sage maker infinitely scalable machine learning algorithms
Amazon sage maker infinitely scalable machine learning algorithms
MLconf
 
Javafx
JavafxJavafx

What's hot (7)

AI on a Pi
AI on a PiAI on a Pi
AI on a Pi
 
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
AWSKRUGの現状 (Sanguk Park) - JAWS Days 2017
 
New AI/ML services at AWS re:Invent 2017
New AI/ML services at AWS re:Invent 2017New AI/ML services at AWS re:Invent 2017
New AI/ML services at AWS re:Invent 2017
 
SVG
SVGSVG
SVG
 
Amazon AI (October 2017)
Amazon AI (October 2017)Amazon AI (October 2017)
Amazon AI (October 2017)
 
Amazon sage maker infinitely scalable machine learning algorithms
Amazon sage maker infinitely scalable machine learning algorithmsAmazon sage maker infinitely scalable machine learning algorithms
Amazon sage maker infinitely scalable machine learning algorithms
 
Javafx
JavafxJavafx
Javafx
 

Similar to R과 Sagemaker를 활용한 딥러닝 어플리케이션 만들기

Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2
Sarah Stemmler
 
Making your API behave like a big boy
Making your API behave like a big boyMaking your API behave like a big boy
Making your API behave like a big boy
Andrew Siemer
 
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Chun-Yu Tseng
 
Navigating AWS re:Invent 2015
Navigating AWS re:Invent 2015Navigating AWS re:Invent 2015
Navigating AWS re:Invent 2015
Amazon Web Services
 
Machine Learning and AI
Machine Learning and AIMachine Learning and AI
Machine Learning and AI
James Serra
 
Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020
Varun Manik
 
Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)
Julien SIMON
 
從零開始的爬蟲之旅 Crawler from zero
從零開始的爬蟲之旅 Crawler from zero從零開始的爬蟲之旅 Crawler from zero
從零開始的爬蟲之旅 Crawler from zero
Shi-Ken Don
 
Machine learning
Machine learningMachine learning
Machine learning
Saravanan Subburayal
 
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
Lucas Jellema
 
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
AWS User Group - Thailand
 
Ncku csie talk about Spark
Ncku csie talk about SparkNcku csie talk about Spark
Ncku csie talk about Spark
Giivee The
 
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
Jernej Kavka (JK)
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft Azure
Kasun Kodagoda
 
Tops for Lean Startup
Tops for Lean StartupTops for Lean Startup
Tops for Lean Startup
David Chen
 
SRV318_Research at PNNL Powered by AWS
SRV318_Research at PNNL Powered by AWSSRV318_Research at PNNL Powered by AWS
SRV318_Research at PNNL Powered by AWS
Amazon Web Services
 
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
Amazon Web Services
 
AWS Enterprise Summit London | Transforming Your IT with AWS
AWS Enterprise Summit London | Transforming Your IT with AWSAWS Enterprise Summit London | Transforming Your IT with AWS
AWS Enterprise Summit London | Transforming Your IT with AWS
Amazon Web Services
 
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim HunterDeep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Databricks
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
Mark Tabladillo
 

Similar to R과 Sagemaker를 활용한 딥러닝 어플리케이션 만들기 (20)

Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2
 
Making your API behave like a big boy
Making your API behave like a big boyMaking your API behave like a big boy
Making your API behave like a big boy
 
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
 
Navigating AWS re:Invent 2015
Navigating AWS re:Invent 2015Navigating AWS re:Invent 2015
Navigating AWS re:Invent 2015
 
Machine Learning and AI
Machine Learning and AIMachine Learning and AI
Machine Learning and AI
 
Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020
 
Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)
 
從零開始的爬蟲之旅 Crawler from zero
從零開始的爬蟲之旅 Crawler from zero從零開始的爬蟲之旅 Crawler from zero
從零開始的爬蟲之旅 Crawler from zero
 
Machine learning
Machine learningMachine learning
Machine learning
 
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
It's a wrap - closing keynote for nlOUG Tech Experience 2017 (16th June, The ...
 
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
AWS Meetup: Career Day 2019 - AWS Certificate: Why and How?
 
Ncku csie talk about Spark
Ncku csie talk about SparkNcku csie talk about Spark
Ncku csie talk about Spark
 
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
From Paper to Power using Azure Form Recognizer (Azure Sydney UG 2020)
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft Azure
 
Tops for Lean Startup
Tops for Lean StartupTops for Lean Startup
Tops for Lean Startup
 
SRV318_Research at PNNL Powered by AWS
SRV318_Research at PNNL Powered by AWSSRV318_Research at PNNL Powered by AWS
SRV318_Research at PNNL Powered by AWS
 
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
Research at PNNL: Powered by AWS - SRV318 - re:Invent 2017
 
AWS Enterprise Summit London | Transforming Your IT with AWS
AWS Enterprise Summit London | Transforming Your IT with AWSAWS Enterprise Summit London | Transforming Your IT with AWS
AWS Enterprise Summit London | Transforming Your IT with AWS
 
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim HunterDeep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 

More from Yan So

트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기
Yan So
 
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
Yan So
 
AWS Retail & CPG Day - Yan So
AWS Retail & CPG Day - Yan SoAWS Retail & CPG Day - Yan So
AWS Retail & CPG Day - Yan So
Yan So
 
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
Yan So
 
데이터가 흐르는 팀 만들기 - 정원희
데이터가 흐르는 팀 만들기 - 정원희데이터가 흐르는 팀 만들기 - 정원희
데이터가 흐르는 팀 만들기 - 정원희
Yan So
 
Brightics Studio 발표자료 AWSKRUG 염성욱
Brightics Studio 발표자료 AWSKRUG 염성욱Brightics Studio 발표자료 AWSKRUG 염성욱
Brightics Studio 발표자료 AWSKRUG 염성욱
Yan So
 
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
Yan So
 
[AWSKRUG] 데이터 얼마까지 알아보셨어요?
[AWSKRUG] 데이터 얼마까지 알아보셨어요?[AWSKRUG] 데이터 얼마까지 알아보셨어요?
[AWSKRUG] 데이터 얼마까지 알아보셨어요?
Yan So
 
MWC Shanghai 2018 톺아보기
MWC Shanghai 2018 톺아보기MWC Shanghai 2018 톺아보기
MWC Shanghai 2018 톺아보기
Yan So
 

More from Yan So (9)

트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기
 
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
AWSKRUG 데이터 엔지니어가 실무에서 맞닥뜨리는 문제들
 
AWS Retail & CPG Day - Yan So
AWS Retail & CPG Day - Yan SoAWS Retail & CPG Day - Yan So
AWS Retail & CPG Day - Yan So
 
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
사이드 프로젝트로 알아보는 검색 서비스 개발 - 이주경
 
데이터가 흐르는 팀 만들기 - 정원희
데이터가 흐르는 팀 만들기 - 정원희데이터가 흐르는 팀 만들기 - 정원희
데이터가 흐르는 팀 만들기 - 정원희
 
Brightics Studio 발표자료 AWSKRUG 염성욱
Brightics Studio 발표자료 AWSKRUG 염성욱Brightics Studio 발표자료 AWSKRUG 염성욱
Brightics Studio 발표자료 AWSKRUG 염성욱
 
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
전혀 새로운 방법의 데이터 탐색 - 김민수 (Tableau)
 
[AWSKRUG] 데이터 얼마까지 알아보셨어요?
[AWSKRUG] 데이터 얼마까지 알아보셨어요?[AWSKRUG] 데이터 얼마까지 알아보셨어요?
[AWSKRUG] 데이터 얼마까지 알아보셨어요?
 
MWC Shanghai 2018 톺아보기
MWC Shanghai 2018 톺아보기MWC Shanghai 2018 톺아보기
MWC Shanghai 2018 톺아보기
 

Recently uploaded

DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 

Recently uploaded (20)

DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 

R과 Sagemaker를 활용한 딥러닝 어플리케이션 만들기

  • 2. • / Yan So • ML , 
 , 3D , 
 , • Digital TV Middleware 
 • #r #aws #datascience #ml #deeplearning #reproducibility #predictable #travel #beer #routinelife #bouldering #nz • E: 13imso@gmail.com
 L: https://www.linkedin.com/in/yanso
 S: @yanso
  • 3. • Why R? • Why AWS Sagemaker? • 

  • 4. • Urbanbase AR 
 AR 
 https://j7e6c.app.goo.gl/J9vC
 
 
 
 
 
 
 
 
 
 

  • 5. • , , • Demo
 
 
 
 
 
 
 
 
 
 
 

  • 6. • Search • Category • Filter • Recommendation
 AR 
 => !
 
 
 => Classification Problem ( )
  • 7. Why deep learning? • OpenCV • Vision API Service • Rule Based System • Machine Learning • Deep Learning ModelData Machine LearningData Model
  • 8. Why NOT deep learning? • OpenCV • Vision API Service • Rule Based System • Machine Learning • Deep Learning / ( ) 1. 2. ( ..) 3. 4. 5. ML / 6. Feature Extraction 
 ...
  • 10. Model • • 
 #HTML #XML
 R package: https://goo.gl/C7jR2e • 
 #Selenium
 https://www.seleniumhq.org
 R package: https://goo.gl/wqWf26 • Discussion
  • 11. Model • 4 ( / / / ) • 1,000 • 
 ( 12,000 ) • 
 AWS #S3
 R Package: https://goo.gl/fVUx75
  • 12. - R & Keras • R & RStudio
 ( ) 
 , 
 , => , , , Running other codes in R • Keras
 TensorFlow, CNTK, Theano high- level neural network API
 • R & Keras with GPU
 R Keras https://keras.rstudio.com
 Tensorflow https://tensorflow.rstudio.com
  • 13. - • R Studio Server
 https://www.rstudio.com/products/rstudio/download-server • Install keras package
 https://keras.rstudio.com
  • 14. - It takes just a couple of minutes!
  • 15. - Transfer Learning • The central concept is to use a more complex but successful pre-trained DNN model to 'transfer' its learning to your more simplified (or equally but not more complex) problem. • Successful models have
 Tuning Parameters
 Featurisers
 
 => 
 Reading: https://www.datasciencecentral.com/profiles/blogs/transfer-learning-deep-learning-for-everyone
  • 16. - Transfer Learning • Image Classification models
 Xception
 VGG16
 VGG19
 ResNet50
 InceptionV3
 Inception
 ResNetV2
 MobileNet
 DenseNet
 NASNet • Pre-trained Model ?
 => 
 => ImageNet Database ? (x) https://github.com/fchollet/deep-learning-models/releases
  • 17. - Transfer Learning Total params: 23,587,712 Trainable params: 23,534,592 Non-trainable params: 53,120 Total params: 23,587,712 Trainable params: 0 Non-trainable params: 23,587,712 Total params: 24,113,284 Trainable params: 525,572 Non-trainable params: 23,587,712 Total params: 23,587,712 Trainable params: 14,976,000 Non-trainable params: 8,611,712
  • 18. - Transfer Learning • Do a lot of training and validation experiments as possible as you could (including Hyper Parameter Optimisation)
 => Atomisation? • 
 Training Data 
 Data Argumentation
 TL Model 
 Optimiser 
 Learning Rate
 Fine Tuning acc: 0.9003 loss: 0.2697 val_acc: 0.8935 val_loss: 0.2901 Elapsed Time: 32,176s Overfitting
  • 19. • R vs Python
 R language is not popular as much as other languages • Plumber
 R web API (flask in Python)
 https://www.rplumber.io • AWS Sagemaker
 ( ) Dockerised Image , AWS AWS • What's in the dockerised image?
 R+Keras , Model Training/Prediction , Plumber web invoke , Model Image
  • 20. • What's in the dockerised image?
 R+Keras , Model Training/Prediction , Plumber web invoke , Model Image 
 
 
 
 
 
 
 
 
 
 

  • 21. • Amazon Lab 
 https://github.com/awslabs/amazon-sagemaker-examples/tree/master/ advanced_functionality/r_bring_your_own
  • 22. • GUI Endpoint • Google Spreadsheet Model Release Note 
 Version | Endpoint Name | Model Name | Changes
  • 23. • 
 Postman Endpoint Endpoint base64 Prediction Result
  • 24. • ( )
 
 1. AWS Sagemaker SDK 
 
 2. Postman Endpoint ( , Headers) 
 - R package: https://cloudyr.github.io (AWS in R)
 https://github.com/cloudyr/aws.signature (AWS signature)
 
 3. AWS Lambda wrapping API • Discussion Endpoint
  • 26. Recommendation System • / / / 4 • ( : 90%) • AR • • Demo
 https://youtu.be/bjm4vebHjgA
  • 28. Recommendation System • Response Time Multithreading Jobs
 1. 
 2. AWS Rekognition
 3. S3 Pre-Loading
 plumber API running 
 ( API ) 
 base64 ( s3 < base64 < )
  • 29. : https://www.slideshare.net/awskorea/amazon-sagemaker-awss-new-deep-learning-service-muhyun-kim Many things left to do 
 ML Engineering
 Job Reporting System Visualisation Endpoint health check ....
 
 Recommendation System
 Collaborative Filtering
 Scoring Response Time Grouping & Segmentation
 .... TODO
  • 30.