SlideShare a Scribd company logo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
아마존닷컴처럼 Amazon
Forecast로 시계열 예측하기
강지양
솔루션즈아키텍트
AWS
S e s s i o n I D
강태욱
매니저
GSSHOP
© 2019, Amazon Web Services, Inc. or its affiliates. All rights
reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights
reserved.
Amazon Forecast 소개
시계열 예측에 대해 궁금한 것들
적용 사례: GSSHOP
모범 사례
목차
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
반복되는 고객의 요청...
“아마존닷컴의 머신 러닝 기술을
우리가 사용할 방법이 있을까요?”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Time-Series Forecasting
시계열 예측
상품
수요 예측
재무지표
예측
노동력
수요 예측
재고 관리
예측
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
외부 요인
날씨, 휴일, 이벤트,
유행 트렌드를 반영하려면
과거를 모르는 데이터
이전 데이터가 없는 새로운 제품을 출시했다면
기타 변수
다양한 제품 속성과 관련 데이터를 고려하려면
튀거나 간헐적인 데이터
불규칙한 패턴의 현실 데이터를 예측한다면
정확한 예측은 매우 어렵습니다
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
기존의 문제 접근 방식
Traditional
ARIMA
Deep Learning
RNN
Regression
XGBoost
하이퍼파라미터
최적화 문제
메타데이터
반영 문제
데이터의 연속성
반영 문제
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast
Amazon.com의 기술로 만든
정확도 높은 시계열 예측 서비스
ML 전문가가 아니라도
문제 없습니다.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
아마존닷컴의 기술로 어려웠던 예측 문제를 해결
급격한 변화
예측
이전 데이터가
없는 새로운
제품의 수요 예측
연관된 시계열
데이터들간의
관계 학습
외부 요인 반영
(계절, 공휴일,
할인 행사 등)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
데이터
파이프라인
구성
모델 배포
다섯번 클릭으로 만드는 커스텀 딥러닝 모델
모델들의
정확도 메트릭
비교
AutoML 또는
Amazon Forecast
제공 알고리즘
중에서 선택
예측 실행
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast의 동작 방식
Amazon Forecast
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast Predefined Recipes
The DeepAR+ Recipe
The Multi-Quantile Recurrent Neural Network
(MQRNN) Recipe (NIPS 2017)
The Spline Quantile Forecaster (SQF) Recipe
The Non-Parametric Time Series (NPTS) Recipe
The Mixture Density Networks (MDN) Recipe
The ARIMA Recipe
The Exponential Smoothing (ETS) Recipe
The Prophet Recipe
머신러닝 경험 없이도 예측 시스템을 만들 수 있도록 미리 만들어진 레시피를 제공합니다.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
다양한 예측 문제에 적용
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
한눈에 보는 시계열 예측
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
한눈에 보는 시계열 예측
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
https://en.wikipedia.org/wiki/Probabilistic_forecasting
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
확률 예측이란?
(μ, σ)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
중요한 이유
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
확률 예측의 결과값
P10, P50, P90: “Quantiles”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
강태욱
매니저
GSSHOP
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
강태욱 매니저 | 물류본부
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
디지털 트랜스포메이션
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DevOps
AWS Cloud
Hybrid
Cloud
Micro Service
Architecture
IDC
Monolithic
Optimized
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
배송주문 물류센터 물류 관점
현황/지표
Data Driven Decision Making
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
물동량 예측
물류/배송 효율화
Amazon
SageMaker
Amazon
Forecast
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast (Preview)
Predefined Dataset Domain
Domain Dataset
Recipes
시작하기 – 공식 문서, 권한 설정, Github 샘플 데이터 & 코드
PoC
결론
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Predefined Dataset Domain
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Retail Domain 데이터 준비
TV쇼핑 상품의 2013년 ~ 현재
• TARGET_TIME_SERIES : 상품아이디, TIMESTAMP, 출고량
• RELATED_TIME_SERIES : 상품아이디, TIMESTAMP, 방송여부 (0, 1)
• ITEM_METADATA Dataset : 상품아이디, TIMESTAMP, 브랜드, 색상
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RELATED_TIME_SERIES DATA (retail domain)
HolidayCalendarName
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recipes
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PoC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PoC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SDK
S3
Amazon
Forecast
Aurora
PoC 시스템
recipe
train
model
EC2물류대시보드
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
POC 결과
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
POC 결과
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
POC 결과
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast 결론
8 hours
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
모범 사례
빅데이터의 힘을 믿으세요
데이터가 많을수록 정확합니다
모델을 너무 나누지 마세요
관련 있는 시계열 데이터들의 공통 모델을 만드세요
TARGET 데이터로 시작하세요
보조 데이터는 주인공이 아닙니다
시계열 데이터를 자르지 마세요
끊기지 않은 전체 데이터가 필요합니다
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
데이터가 많을수록 정확합니다
Scaling to Very Very Large Corpora for Natural Language
Disambiguation, Banko and Brill, Microsoft Research (2001)
http://www.aclweb.org/anthology/P01-1005
“These results suggest that we may
want to reconsider the trade-off
between spending time and money
on algorithm development versus
spending it on corpus development.”
알고리즘 선정보다
학습 데이터의 양이 더 중요
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
데이터
머신러닝
도메인
지식
균형
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Forecast
개발자도 쉽게 접근할 수 있는 시계열 예측
주 요 기 능
높은 정확도 자동 최적화 통합 모델링콜드 스타트 자동 재학습
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next Step
• Amazon Forecast (Preview)
https://aws.amazon.com/forecast/
• Amazon Forecast Documentation (Preview)
https://docs.aws.amazon.com/forecast/
• 실습 URL (Jupyter Notebook)
https://github.com/aws-samples/amazon-forecast-samples
• AWS re:Invent 2018: [NEW LAUNCH!] Introducing Amazon Forecast (AIM344)
https://youtu.be/kU5cFdXjwOc
• AWS Online Tech Talks: Build Forecasts and Individualized Recommendations with AI
https://youtu.be/glSFmuAfRjE

More Related Content

PDF
[AWS Innovate 온라인 컨퍼런스] Amazon Personalize를 통한 개인화 추천 기능 실전 구현하기 - 최원근, AWS 솔...
PDF
AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례
PDF
핵심 미래 분석 기술! 시계열 분석을 활용한 수요예측과 재고관리 최적화 사례 – 김형일 AWS 솔루션즈 아키텍트, 이환기 신세계아이앤씨 A...
PDF
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
PDF
데이터 마이그레이션 및 전송을 위한 AWS 스토리지 서비스 활용방안 - 박용선, 메가존 클라우드 매니저
PDF
AWS Black Belt online seminar 2017 Snowball
PDF
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
PDF
AWS Black Belt Online Seminar 2017 AWS Shield
[AWS Innovate 온라인 컨퍼런스] Amazon Personalize를 통한 개인화 추천 기능 실전 구현하기 - 최원근, AWS 솔...
AWS Summit Seoul 2023 |투자를 모두에게, 토스증권의 MTS 구축 사례
핵심 미래 분석 기술! 시계열 분석을 활용한 수요예측과 재고관리 최적화 사례 – 김형일 AWS 솔루션즈 아키텍트, 이환기 신세계아이앤씨 A...
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
데이터 마이그레이션 및 전송을 위한 AWS 스토리지 서비스 활용방안 - 박용선, 메가존 클라우드 매니저
AWS Black Belt online seminar 2017 Snowball
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
AWS Black Belt Online Seminar 2017 AWS Shield

What's hot (20)

PPTX
글로벌 기업들의 효과적인 데이터 분석을 위한 Data Lake 구축 및 분석 사례 - 김준형 (AWS 솔루션즈 아키텍트)
PDF
AWS Personalize 중심으로 살펴본 추천 시스템 원리와 구축
PDF
AWS Well-Architected Security とベストプラクティス
PDF
누가 내 엔터프라이즈 고객을 클라우드로 옮겼을까?-양승호, Head of Cloud Modernization,AWS::AWS 마이그레이션 ...
PDF
AWS Black Belt Tech シリーズ 2016 - Amazon CloudFront
PDF
AWS Black Belt Online Seminar 2018 AWS Certificate Manager
PDF
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
PDF
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
PDF
20190730 AWS Black Belt Online Seminar Amazon CloudFrontの概要
PDF
Amazon Personalize 소개 (+ 실습 구성)::김영진, 솔루션즈 아키텍트, AWS::AWS AIML 스페셜 웨비나
PDF
AWS Black Belt Techシリーズ Amazon VPC
PDF
Kurly는 AWS를 어떻게 사용하고 있을까? - 성공적 리테일 디지털 트랜스포메이션 사례 - 박경표 AWS 솔루션즈 아키텍트 / 임상석...
PDF
20191120 AWS Black Belt Online Seminar Amazon Managed Streaming for Apache Ka...
PDF
20190213 AWS Black Belt Online Seminar Amazon SageMaker Advanced Session
PDF
20190130 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
PDF
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
PDF
20210126 AWS Black Belt Online Seminar AWS CodeDeploy
PDF
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
PDF
JPC2018[E4]Microsoft Azure ならこうする、こうできる! ~AWS 技術者向け 最新 Microsoft Azure サービス解説...
PDF
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
글로벌 기업들의 효과적인 데이터 분석을 위한 Data Lake 구축 및 분석 사례 - 김준형 (AWS 솔루션즈 아키텍트)
AWS Personalize 중심으로 살펴본 추천 시스템 원리와 구축
AWS Well-Architected Security とベストプラクティス
누가 내 엔터프라이즈 고객을 클라우드로 옮겼을까?-양승호, Head of Cloud Modernization,AWS::AWS 마이그레이션 ...
AWS Black Belt Tech シリーズ 2016 - Amazon CloudFront
AWS Black Belt Online Seminar 2018 AWS Certificate Manager
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
20190730 AWS Black Belt Online Seminar Amazon CloudFrontの概要
Amazon Personalize 소개 (+ 실습 구성)::김영진, 솔루션즈 아키텍트, AWS::AWS AIML 스페셜 웨비나
AWS Black Belt Techシリーズ Amazon VPC
Kurly는 AWS를 어떻게 사용하고 있을까? - 성공적 리테일 디지털 트랜스포메이션 사례 - 박경표 AWS 솔루션즈 아키텍트 / 임상석...
20191120 AWS Black Belt Online Seminar Amazon Managed Streaming for Apache Ka...
20190213 AWS Black Belt Online Seminar Amazon SageMaker Advanced Session
20190130 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20210126 AWS Black Belt Online Seminar AWS CodeDeploy
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
JPC2018[E4]Microsoft Azure ならこうする、こうできる! ~AWS 技術者向け 最新 Microsoft Azure サービス解説...
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
Ad

Similar to 아마존닷컴처럼 Amazon Forecast로 시계열 예측하기 - 강지양 솔루션즈 아키텍트, AWS / 강태욱 매니저, GSSHOP :: AWS Summit Seoul 2019 (14)

PDF
완전 관리형 ML 서비스인 Amazon SageMaker 의 신규 기능 소개 - 김필호 AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS ...
PDF
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
PPTX
DevOps: The Amazon Way
PDF
Digital transformation on aws
PPTX
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
PDF
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
PPTX
AWS Initiate - DevOps do Jeito Amazon
PDF
Modern Data Platforms - Thinking Data Flywheel on the Cloud
PPTX
AWS Initiate: Security framework shakedown
PPTX
AWS Initiate - Security Framework Shakedown: Mapeie sua jornada com as melhor...
PDF
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
PPTX
Moving to DevOps the Amazon Way
PPTX
Brian Scanlan - Intercom and AWS
PDF
Recomendaciones, predicciones y detección de fraude usando servicios de intel...
완전 관리형 ML 서비스인 Amazon SageMaker 의 신규 기능 소개 - 김필호 AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS ...
e커머스 통합운영 자동화 사례 및 보안강화 방안 - 양수연 상무, 삼성SDS / 임선진 팀장, 삼성SDS :: AWS Summit Seou...
DevOps: The Amazon Way
Digital transformation on aws
[AWS summit 2019] 마이크로 서비스 패턴 데이터 베이스
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
AWS Initiate - DevOps do Jeito Amazon
Modern Data Platforms - Thinking Data Flywheel on the Cloud
AWS Initiate: Security framework shakedown
AWS Initiate - Security Framework Shakedown: Mapeie sua jornada com as melhor...
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Moving to DevOps the Amazon Way
Brian Scanlan - Intercom and AWS
Recomendaciones, predicciones y detección de fraude usando servicios de intel...
Ad

More from Amazon Web Services Korea (20)

PDF
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
PDF
[D3T1S06] Neptune Analytics with Vector Similarity Search
PDF
[D3T1S03] Amazon DynamoDB design puzzlers
PDF
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
PDF
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
PDF
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
PDF
[D3T1S02] Aurora Limitless Database Introduction
PDF
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
PDF
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 2
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 1
PDF
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
PDF
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
PDF
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
PDF
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
PDF
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
PDF
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
PDF
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
PDF
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
PDF
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
[D3T1S06] Neptune Analytics with Vector Similarity Search
[D3T1S03] Amazon DynamoDB design puzzlers
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
[D3T1S02] Aurora Limitless Database Introduction
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
AWS Modern Infra with Storage Roadshow 2023 - Day 2
AWS Modern Infra with Storage Roadshow 2023 - Day 1
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Modernizing your data center with Dell and AMD
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication

아마존닷컴처럼 Amazon Forecast로 시계열 예측하기 - 강지양 솔루션즈 아키텍트, AWS / 강태욱 매니저, GSSHOP :: AWS Summit Seoul 2019

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 아마존닷컴처럼 Amazon Forecast로 시계열 예측하기 강지양 솔루션즈아키텍트 AWS S e s s i o n I D 강태욱 매니저 GSSHOP
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast 소개 시계열 예측에 대해 궁금한 것들 적용 사례: GSSHOP 모범 사례 목차
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 반복되는 고객의 요청... “아마존닷컴의 머신 러닝 기술을 우리가 사용할 방법이 있을까요?”
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Time-Series Forecasting 시계열 예측 상품 수요 예측 재무지표 예측 노동력 수요 예측 재고 관리 예측
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 외부 요인 날씨, 휴일, 이벤트, 유행 트렌드를 반영하려면 과거를 모르는 데이터 이전 데이터가 없는 새로운 제품을 출시했다면 기타 변수 다양한 제품 속성과 관련 데이터를 고려하려면 튀거나 간헐적인 데이터 불규칙한 패턴의 현실 데이터를 예측한다면 정확한 예측은 매우 어렵습니다
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 기존의 문제 접근 방식 Traditional ARIMA Deep Learning RNN Regression XGBoost 하이퍼파라미터 최적화 문제 메타데이터 반영 문제 데이터의 연속성 반영 문제
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast Amazon.com의 기술로 만든 정확도 높은 시계열 예측 서비스 ML 전문가가 아니라도 문제 없습니다.
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 아마존닷컴의 기술로 어려웠던 예측 문제를 해결 급격한 변화 예측 이전 데이터가 없는 새로운 제품의 수요 예측 연관된 시계열 데이터들간의 관계 학습 외부 요인 반영 (계절, 공휴일, 할인 행사 등)
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 데이터 파이프라인 구성 모델 배포 다섯번 클릭으로 만드는 커스텀 딥러닝 모델 모델들의 정확도 메트릭 비교 AutoML 또는 Amazon Forecast 제공 알고리즘 중에서 선택 예측 실행
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast의 동작 방식 Amazon Forecast
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast Predefined Recipes The DeepAR+ Recipe The Multi-Quantile Recurrent Neural Network (MQRNN) Recipe (NIPS 2017) The Spline Quantile Forecaster (SQF) Recipe The Non-Parametric Time Series (NPTS) Recipe The Mixture Density Networks (MDN) Recipe The ARIMA Recipe The Exponential Smoothing (ETS) Recipe The Prophet Recipe 머신러닝 경험 없이도 예측 시스템을 만들 수 있도록 미리 만들어진 레시피를 제공합니다.
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 다양한 예측 문제에 적용
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 한눈에 보는 시계열 예측
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 한눈에 보는 시계열 예측
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. https://en.wikipedia.org/wiki/Probabilistic_forecasting
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 확률 예측이란? (μ, σ)
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 중요한 이유
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 확률 예측의 결과값 P10, P50, P90: “Quantiles”
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 강태욱 매니저 GSSHOP
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 강태욱 매니저 | 물류본부
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 디지털 트랜스포메이션
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. DevOps AWS Cloud Hybrid Cloud Micro Service Architecture IDC Monolithic Optimized
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 배송주문 물류센터 물류 관점 현황/지표 Data Driven Decision Making
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 물동량 예측 물류/배송 효율화 Amazon SageMaker Amazon Forecast
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast (Preview) Predefined Dataset Domain Domain Dataset Recipes 시작하기 – 공식 문서, 권한 설정, Github 샘플 데이터 & 코드 PoC 결론
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Predefined Dataset Domain
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Retail Domain 데이터 준비 TV쇼핑 상품의 2013년 ~ 현재 • TARGET_TIME_SERIES : 상품아이디, TIMESTAMP, 출고량 • RELATED_TIME_SERIES : 상품아이디, TIMESTAMP, 방송여부 (0, 1) • ITEM_METADATA Dataset : 상품아이디, TIMESTAMP, 브랜드, 색상
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. RELATED_TIME_SERIES DATA (retail domain) HolidayCalendarName
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recipes
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. PoC
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. PoC
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. SDK S3 Amazon Forecast Aurora PoC 시스템 recipe train model EC2물류대시보드
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. POC 결과
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. POC 결과
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. POC 결과
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast 결론 8 hours
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 모범 사례 빅데이터의 힘을 믿으세요 데이터가 많을수록 정확합니다 모델을 너무 나누지 마세요 관련 있는 시계열 데이터들의 공통 모델을 만드세요 TARGET 데이터로 시작하세요 보조 데이터는 주인공이 아닙니다 시계열 데이터를 자르지 마세요 끊기지 않은 전체 데이터가 필요합니다
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 데이터가 많을수록 정확합니다 Scaling to Very Very Large Corpora for Natural Language Disambiguation, Banko and Brill, Microsoft Research (2001) http://www.aclweb.org/anthology/P01-1005 “These results suggest that we may want to reconsider the trade-off between spending time and money on algorithm development versus spending it on corpus development.” 알고리즘 선정보다 학습 데이터의 양이 더 중요
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 데이터 머신러닝 도메인 지식 균형
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Forecast 개발자도 쉽게 접근할 수 있는 시계열 예측 주 요 기 능 높은 정확도 자동 최적화 통합 모델링콜드 스타트 자동 재학습
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next Step • Amazon Forecast (Preview) https://aws.amazon.com/forecast/ • Amazon Forecast Documentation (Preview) https://docs.aws.amazon.com/forecast/ • 실습 URL (Jupyter Notebook) https://github.com/aws-samples/amazon-forecast-samples • AWS re:Invent 2018: [NEW LAUNCH!] Introducing Amazon Forecast (AIM344) https://youtu.be/kU5cFdXjwOc • AWS Online Tech Talks: Build Forecasts and Individualized Recommendations with AI https://youtu.be/glSFmuAfRjE