SlideShare ist ein Scribd-Unternehmen logo
1 von 24
© 2016 Micron Technology, Inc. |
©2016 Micron Technology, Inc. All rights reserved. Information, products, and/or specifications are subject to
change without notice. All information is provided on an “AS IS” basis without warranties of any kind.
Statements regarding products, including regarding their features, availability, functionality, or compatibility,
are provided for informational purposes only and do not modify the warranty, if any, applicable to any
product. Drawings may not be to scale. Micron, the Micron logo, and all other Micron trademarks are the
property of Micron Technology, Inc. All other trademarks are the property of their respective owners.
Demand Forecasting with Machine Learning
Colin Ard
© 2016 Micron Technology, Inc. |
Agenda
- Demand Forecasting at Micron
- Classical Time Series Analysis
- Building Predictive Models for Time Series with Machine Learning
- Demand Forecasting with Machine Learning Ensembles
2
© 2016 Micron Technology, Inc. |
A Bit About Micron
3
- Founded in 1978 in Boise, ID
- First fabrication unit completed in 1980
- Growth through expansion and acquisition
- Global company with over 30,000 employees
© 2016 Micron Technology, Inc. |
Demand Forecasting at Micron
4
- Scope: Tens of thousands of series requiring forecasting
- Scale: Consistent high demand vs sparse low demand
- Structure…
Data Complexities
© 2016 Micron Technology, Inc. |
0
Univariate Time Series Analysis
6
𝑌𝑡 = 𝛼 + 𝛽𝑡 + 𝑒𝑡, 𝑒𝑡 ~Normal 0, 𝜎2
Solve by minimizing loss function: 𝐿 𝑌, 𝛼, 𝛽
Residual
𝐿 𝑌, 𝛼, 𝛽 = 𝑌𝑡 − 𝛼 − 𝛽𝑡 2
𝑇
𝑡=1
Squared error loss
© 2016 Micron Technology, Inc. |
Univariate Time Series Analysis
7
ACFℎ = Correlation 𝑌𝑡, 𝑌𝑡−ℎ
Partial ACFℎ = Correlation 𝑌𝑡, 𝑌𝑡−ℎ|𝑌𝑡−1, … 𝑌𝑡−ℎ+1
Residual
𝐿 𝑌, 𝛼, 𝛽 = 𝑌𝑡 − 𝛼 − 𝛽𝑡 2
𝑇
𝑡=1
Squared error loss
𝑌𝑡 = 𝛼 + 𝛽𝑡 + 𝑒𝑡, 𝑒𝑡 ~Normal 0, 𝜎2
Solve by minimizing loss function: 𝐿 𝑌, 𝛼, 𝛽
© 2016 Micron Technology, Inc. |
Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡
Univariate Time Series Analysis
8
Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1
Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡
Non-stationary series
Difference: 𝑌𝑡 → ∆𝑌𝑡
AR 1
MA 1
Residuals from Differenced Series
© 2016 Micron Technology, Inc. |
Univariate Time Series Analysis
9
Non-stationary series
Difference: 𝑌𝑡 → ∆𝑌𝑡
Residuals from ARIMA (1, 1, 1)
Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡
Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1
Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡
© 2016 Micron Technology, Inc. |
Univariate Time Series Analysis
10
Non-stationary series
Difference: 𝑌𝑡 → ∆𝑌𝑡
Forecasted Value
Expected Value
Residuals from ARIMA (1, 1, 1)
Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡
Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1
Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡
© 2016 Micron Technology, Inc. |11
A Machine Learning Approach
© 2016 Micron Technology, Inc. |12
A Machine Learning Approach
© 2016 Micron Technology, Inc. |13
A Machine Learning Approach
© 2016 Micron Technology, Inc. |14
A Machine Learning Approach
© 2016 Micron Technology, Inc. |15
A Machine Learning Approach
© 2016 Micron Technology, Inc. |
The Bias-Variance Tradeoff
16
𝐿 𝑌, 𝑓; 𝛾 = 𝑌𝑖 − 𝑓 𝑋𝑖
2
𝑁
𝑖=1
+ 𝛾 𝑓′′
𝑠 2
𝑑𝑠
𝛾 = ∞ 𝛾 = 00 < 𝛾 < ∞
Squared error loss Complexity penalty
𝛾 ≥ 0: Tuning Parameter
© 2016 Micron Technology, Inc. | 17
Demand History
Naïve Forecast
Alternate Forecasts
Ensemble Forecast
Machine Learning
© 2016 Micron Technology, Inc. |
Ensembling Methods Pt. 1
18
Final pre-processing steps:
- Cumulative forecasts totals
- Model demand over the next 3 months, as opposed to demand
3 months from now
- Separate ensemble models trained for each cumulative
forecast span
- Feature sorting for suitability in modeling:
- linear associations
- interaction-dependent associations
- Feature/Outcome transformation and scaling…
Outcome𝑖 =
Actual𝑖 − Naive𝑖
𝑐 + Actual𝑖 + Naive𝑖
Feature𝑖𝑚 =
Forecast 𝑖𝑚 − Naive𝑖
𝑐 + Forecast 𝑖𝑚 + Naive𝑖
∆𝑌𝑖
Stacked Generalization
𝑓1 𝑋𝑖
…
𝑌𝑖 = 𝐹 𝑋𝑖
𝑓2 𝑋𝑖 𝑓3 𝑋𝑖 𝑓 𝑀 𝑋𝑖
𝐹 ∆𝑌𝑖 1
, ∆𝑌𝑖 2
, … , ∆𝑌𝑖 𝑀
, …
~
© 2016 Micron Technology, Inc. |
Ensembling Methods Pt. 2
19
Naïve Forecast: Qty
∆𝑌 ARIMA
100K
-0.2
1M
R1
R2
R3 R4
∆𝑌𝑖 = 𝐿 𝑹, ∆𝑌𝑖 1
, ∆𝑌𝑖 2
, … , ∆𝑌𝑖 𝑀
, …
…
Boosting Algorithms
𝑌0
∗
= 𝑌
ℎ0 𝑋
𝑌1
∗
ℎ1 𝑋
𝑌 𝑀
∗
ℎ 𝑀 𝑋 𝑌 = 𝐹 𝑀 𝑋
© 2016 Micron Technology, Inc. |
Ensemble Methods Pt. 3
20
Training Data
T1 T2 T3 TB
…
Bootstrap Aggregation
Bagged Estimate
𝑌𝑖 =
1
𝐵
𝑌𝑖
𝑏
𝐵
𝑏=1
𝑋𝑖1, 𝑌𝑖1 𝑋𝑖2, 𝑌𝑖2 … 𝑋𝑖,𝑇−ℎ, 𝑌𝑖,𝑇−ℎ 𝑋𝑖𝑠 𝑖
, 𝑌𝑖𝑠 𝑖
𝑋1𝑠1
, 𝑌1𝑠1
𝑋2𝑠2
, 𝑌2𝑠2
…
Candidate model inputs for Product i
Full sample at bth training iteration
Goal:
- A generalizable model for change in demand
Challenges:
- Have to assume the fundamentals that drove historical
demand are likely to fluctuate over time
- Limited to validation of the algorithm rather than
testing of predictions from a specific trained model
𝑆𝑎𝑚𝑝𝑙𝑒
Forecasting h months ahead from month T
𝑋𝑖𝑠 𝑖
, 𝑌𝑖𝑠 𝑖
… 𝑋 𝑁𝑠 𝑁
, 𝑌𝑁𝑠 𝑁
© 2016 Micron Technology, Inc. |
Forecast Accuracy Metrics and Validation
21
𝑤𝑀𝐴𝑃𝐸 = 100 ×
Actual − Forecast
Actual
𝐴𝑐𝑐𝑢𝑟𝑎𝑐𝑦 = 100 − 𝑤𝑀𝐴𝑃𝐸
Training Data:
𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 1, … , 𝑇 − ℎ
Validation Data:
𝑋𝑖𝑇, 𝑌𝑖𝑇
𝑃𝑟𝑒𝑑𝑖𝑐𝑡
Training Data:
𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 2, … , 𝑇 − ℎ + 1
Validation Data:
𝑋𝑖,𝑇+1, 𝑌𝑖,𝑇+1
𝑃𝑟𝑒𝑑𝑖𝑐𝑡
…
Training Data:
𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 𝐾 + 1, … , 𝑇 − ℎ + 𝐾
Validation Data:
𝑋𝑖,𝑇+𝐾, 𝑌𝑖,𝑇+𝐾
𝑃𝑟𝑒𝑑𝑖𝑐𝑡
Training Data:
𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 3, … , 𝑇 − ℎ + 2
Validation Data:
𝑋𝑖,𝑇+2, 𝑌𝑖,𝑇+2
𝑃𝑟𝑒𝑑𝑖𝑐𝑡
© 2016 Micron Technology, Inc. |
Forecast Accuracy Validation
22
Lag-1 Lag-2 (Cumulative) Lag-3 (Cumulative)
© 2016 Micron Technology, Inc. |
Conclusions
23
- Significant gains in forecast accuracy across lags
- Understand the challenge and play to your strengths
- Business processes, available data, and goals of the analysis
- Institutional knowledge and human expertise
- Acknowledgements
- Micron Enterprise Data Science and Demand Management Teams
1645 track 2 ard_using our laptop

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

940 diamond sponsor sengupta
940 diamond sponsor sengupta940 diamond sponsor sengupta
940 diamond sponsor sengupta
 
940 paw business general session - ssg - data-robot
940 paw business   general session - ssg - data-robot940 paw business   general session - ssg - data-robot
940 paw business general session - ssg - data-robot
 
Causal Inference, Reinforcement Learning, and Continuous Optimization
Causal Inference, Reinforcement Learning, and Continuous OptimizationCausal Inference, Reinforcement Learning, and Continuous Optimization
Causal Inference, Reinforcement Learning, and Continuous Optimization
 
Predictive Analytics in Manufacturing
Predictive Analytics in ManufacturingPredictive Analytics in Manufacturing
Predictive Analytics in Manufacturing
 
Scientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talkScientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talk
 
1555 track 1 huang_using his mac
1555 track 1 huang_using his mac1555 track 1 huang_using his mac
1555 track 1 huang_using his mac
 
Predictive data analytics models and their applications
Predictive data analytics models and their applicationsPredictive data analytics models and their applications
Predictive data analytics models and their applications
 
R Tool for Visual Studio และการทำงานร่วมกันเป็นทีม โดย เฉลิมวงศ์ วิจิตรปิยะกุ...
R Tool for Visual Studio และการทำงานร่วมกันเป็นทีม โดย เฉลิมวงศ์ วิจิตรปิยะกุ...R Tool for Visual Studio และการทำงานร่วมกันเป็นทีม โดย เฉลิมวงศ์ วิจิตรปิยะกุ...
R Tool for Visual Studio และการทำงานร่วมกันเป็นทีม โดย เฉลิมวงศ์ วิจิตรปิยะกุ...
 
1645 track 1 bress_using his laptop
1645 track 1 bress_using his laptop1645 track 1 bress_using his laptop
1645 track 1 bress_using his laptop
 
The Three Body Problem of Data Science
The Three Body Problem of Data ScienceThe Three Body Problem of Data Science
The Three Body Problem of Data Science
 
1030 track1 heiler
1030 track1 heiler1030 track1 heiler
1030 track1 heiler
 
1120 track 3 prendki_using our laptop
1120 track 3 prendki_using our laptop1120 track 3 prendki_using our laptop
1120 track 3 prendki_using our laptop
 
Crisp dm
Crisp dmCrisp dm
Crisp dm
 
Predictive Analytics - Display Advertising & Credit Card Acquisition Use cases
Predictive Analytics - Display Advertising & Credit Card Acquisition Use cases Predictive Analytics - Display Advertising & Credit Card Acquisition Use cases
Predictive Analytics - Display Advertising & Credit Card Acquisition Use cases
 
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
 
Application of predictive analytics
Application of predictive analyticsApplication of predictive analytics
Application of predictive analytics
 
Predictive Modelling
Predictive ModellingPredictive Modelling
Predictive Modelling
 
Data Analytics Life Cycle
Data Analytics Life CycleData Analytics Life Cycle
Data Analytics Life Cycle
 
Loan Default Prediction with Machine Learning
Loan Default Prediction with Machine LearningLoan Default Prediction with Machine Learning
Loan Default Prediction with Machine Learning
 
Buzzword scheme
Buzzword schemeBuzzword scheme
Buzzword scheme
 

Ähnlich wie 1645 track 2 ard_using our laptop

Project template for presenting it before the panel
Project template for presenting it before the panelProject template for presenting it before the panel
Project template for presenting it before the panel
AkshatMehrotra14
 
Use Machine Learning to Get the Most out of Your Big Data Clusters
Use Machine Learning to Get the Most out of Your Big Data ClustersUse Machine Learning to Get the Most out of Your Big Data Clusters
Use Machine Learning to Get the Most out of Your Big Data Clusters
Databricks
 
Con3187 Creating Industrial Middleware with Java ME and Single-Board Computers
Con3187 Creating Industrial Middleware with Java ME and Single-Board ComputersCon3187 Creating Industrial Middleware with Java ME and Single-Board Computers
Con3187 Creating Industrial Middleware with Java ME and Single-Board Computers
Julio Palma Vázquez
 
3G War: Who will be the winner?
3G War: Who will be the winner?3G War: Who will be the winner?
3G War: Who will be the winner?
Alok Singh
 

Ähnlich wie 1645 track 2 ard_using our laptop (20)

MSA – Improving the Measurement System
MSA – Improving the Measurement SystemMSA – Improving the Measurement System
MSA – Improving the Measurement System
 
Ds for finance day 3
Ds for finance day 3Ds for finance day 3
Ds for finance day 3
 
Meter anomaly detection
Meter anomaly detectionMeter anomaly detection
Meter anomaly detection
 
IRJET- Distribution Selection for Pump Manufacturing Companies
IRJET- Distribution Selection for Pump Manufacturing CompaniesIRJET- Distribution Selection for Pump Manufacturing Companies
IRJET- Distribution Selection for Pump Manufacturing Companies
 
Project template for projects looks like this
Project template for projects looks like thisProject template for projects looks like this
Project template for projects looks like this
 
Project template for presenting it before the panel
Project template for presenting it before the panelProject template for presenting it before the panel
Project template for presenting it before the panel
 
Just add Imagination
Just add ImaginationJust add Imagination
Just add Imagination
 
Use Machine Learning to Get the Most out of Your Big Data Clusters
Use Machine Learning to Get the Most out of Your Big Data ClustersUse Machine Learning to Get the Most out of Your Big Data Clusters
Use Machine Learning to Get the Most out of Your Big Data Clusters
 
MSA – Gage R&R Test
MSA – Gage R&R TestMSA – Gage R&R Test
MSA – Gage R&R Test
 
Con3187 Creating Industrial Middleware with Java ME and Single-Board Computers
Con3187 Creating Industrial Middleware with Java ME and Single-Board ComputersCon3187 Creating Industrial Middleware with Java ME and Single-Board Computers
Con3187 Creating Industrial Middleware with Java ME and Single-Board Computers
 
IRJET- Supply Chain Network Design for Plant Location and Selection of Capaci...
IRJET- Supply Chain Network Design for Plant Location and Selection of Capaci...IRJET- Supply Chain Network Design for Plant Location and Selection of Capaci...
IRJET- Supply Chain Network Design for Plant Location and Selection of Capaci...
 
Optimizing Facility Layout Through Simulation
Optimizing Facility Layout Through SimulationOptimizing Facility Layout Through Simulation
Optimizing Facility Layout Through Simulation
 
Datascience101presentation4
Datascience101presentation4Datascience101presentation4
Datascience101presentation4
 
Machine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APACMachine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APAC
 
Walk-Through Demand Sales Time Series Forecasting
Walk-Through Demand Sales Time Series ForecastingWalk-Through Demand Sales Time Series Forecasting
Walk-Through Demand Sales Time Series Forecasting
 
MSA – Planning & Conducting the MSA
MSA – Planning & Conducting the MSAMSA – Planning & Conducting the MSA
MSA – Planning & Conducting the MSA
 
3G War: Who will be the winner?
3G War: Who will be the winner?3G War: Who will be the winner?
3G War: Who will be the winner?
 
Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...
 
CA IDMS Performance and Tuning
CA IDMS Performance and TuningCA IDMS Performance and Tuning
CA IDMS Performance and Tuning
 
Performance Testing
Performance Testing Performance Testing
Performance Testing
 

Mehr von Rising Media, Inc.

Mehr von Rising Media, Inc. (20)

1415 track 1 wu_using his laptop
1415 track 1 wu_using his laptop1415 track 1 wu_using his laptop
1415 track 1 wu_using his laptop
 
Matt gershoff
Matt gershoffMatt gershoff
Matt gershoff
 
Keynote adam greco
Keynote adam grecoKeynote adam greco
Keynote adam greco
 
1620 keynote olson_using our laptop
1620 keynote olson_using our laptop1620 keynote olson_using our laptop
1620 keynote olson_using our laptop
 
1530 track 2 stuart_using our laptop
1530 track 2 stuart_using our laptop1530 track 2 stuart_using our laptop
1530 track 2 stuart_using our laptop
 
1530 track 1 fader_using our laptop
1530 track 1 fader_using our laptop1530 track 1 fader_using our laptop
1530 track 1 fader_using our laptop
 
1415 track 2 richardson
1415 track 2 richardson1415 track 2 richardson
1415 track 2 richardson
 
1215 daa lunch owusu_using our laptop
1215 daa lunch owusu_using our laptop1215 daa lunch owusu_using our laptop
1215 daa lunch owusu_using our laptop
 
1215 daa lunch a bos intro slides_using our laptop
1215 daa lunch a bos intro slides_using our laptop1215 daa lunch a bos intro slides_using our laptop
1215 daa lunch a bos intro slides_using our laptop
 
915 e metrics_claudia perlich
915 e metrics_claudia perlich915 e metrics_claudia perlich
915 e metrics_claudia perlich
 
855 sponsor movassate_using our laptop
855 sponsor movassate_using our laptop855 sponsor movassate_using our laptop
855 sponsor movassate_using our laptop
 
1615 plack using our laptop
1615 plack using our laptop1615 plack using our laptop
1615 plack using our laptop
 
1530 rimmele do not share
1530 rimmele do not share1530 rimmele do not share
1530 rimmele do not share
 
1325 keynote yale_pdf shareable
1325 keynote yale_pdf shareable1325 keynote yale_pdf shareable
1325 keynote yale_pdf shareable
 
1115 fiztgerald schuchardt
1115 fiztgerald schuchardt1115 fiztgerald schuchardt
1115 fiztgerald schuchardt
 
1000 kondic do not share
1000 kondic do not share1000 kondic do not share
1000 kondic do not share
 
905 keynote peele_using our laptop
905 keynote peele_using our laptop905 keynote peele_using our laptop
905 keynote peele_using our laptop
 
Stephen morse sharable
Stephen morse sharableStephen morse sharable
Stephen morse sharable
 
Elder shareable
Elder shareableElder shareable
Elder shareable
 
1115 ramirez using our laptop
1115 ramirez using our laptop1115 ramirez using our laptop
1115 ramirez using our laptop
 

Kürzlich hochgeladen

➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
gajnagarg
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
gajnagarg
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 

Kürzlich hochgeladen (20)

➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 

1645 track 2 ard_using our laptop

  • 1. © 2016 Micron Technology, Inc. | ©2016 Micron Technology, Inc. All rights reserved. Information, products, and/or specifications are subject to change without notice. All information is provided on an “AS IS” basis without warranties of any kind. Statements regarding products, including regarding their features, availability, functionality, or compatibility, are provided for informational purposes only and do not modify the warranty, if any, applicable to any product. Drawings may not be to scale. Micron, the Micron logo, and all other Micron trademarks are the property of Micron Technology, Inc. All other trademarks are the property of their respective owners. Demand Forecasting with Machine Learning Colin Ard
  • 2. © 2016 Micron Technology, Inc. | Agenda - Demand Forecasting at Micron - Classical Time Series Analysis - Building Predictive Models for Time Series with Machine Learning - Demand Forecasting with Machine Learning Ensembles 2
  • 3. © 2016 Micron Technology, Inc. | A Bit About Micron 3 - Founded in 1978 in Boise, ID - First fabrication unit completed in 1980 - Growth through expansion and acquisition - Global company with over 30,000 employees
  • 4. © 2016 Micron Technology, Inc. | Demand Forecasting at Micron 4
  • 5. - Scope: Tens of thousands of series requiring forecasting - Scale: Consistent high demand vs sparse low demand - Structure… Data Complexities
  • 6. © 2016 Micron Technology, Inc. | 0 Univariate Time Series Analysis 6 𝑌𝑡 = 𝛼 + 𝛽𝑡 + 𝑒𝑡, 𝑒𝑡 ~Normal 0, 𝜎2 Solve by minimizing loss function: 𝐿 𝑌, 𝛼, 𝛽 Residual 𝐿 𝑌, 𝛼, 𝛽 = 𝑌𝑡 − 𝛼 − 𝛽𝑡 2 𝑇 𝑡=1 Squared error loss
  • 7. © 2016 Micron Technology, Inc. | Univariate Time Series Analysis 7 ACFℎ = Correlation 𝑌𝑡, 𝑌𝑡−ℎ Partial ACFℎ = Correlation 𝑌𝑡, 𝑌𝑡−ℎ|𝑌𝑡−1, … 𝑌𝑡−ℎ+1 Residual 𝐿 𝑌, 𝛼, 𝛽 = 𝑌𝑡 − 𝛼 − 𝛽𝑡 2 𝑇 𝑡=1 Squared error loss 𝑌𝑡 = 𝛼 + 𝛽𝑡 + 𝑒𝑡, 𝑒𝑡 ~Normal 0, 𝜎2 Solve by minimizing loss function: 𝐿 𝑌, 𝛼, 𝛽
  • 8. © 2016 Micron Technology, Inc. | Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡 Univariate Time Series Analysis 8 Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1 Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡 Non-stationary series Difference: 𝑌𝑡 → ∆𝑌𝑡 AR 1 MA 1 Residuals from Differenced Series
  • 9. © 2016 Micron Technology, Inc. | Univariate Time Series Analysis 9 Non-stationary series Difference: 𝑌𝑡 → ∆𝑌𝑡 Residuals from ARIMA (1, 1, 1) Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡 Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1 Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡
  • 10. © 2016 Micron Technology, Inc. | Univariate Time Series Analysis 10 Non-stationary series Difference: 𝑌𝑡 → ∆𝑌𝑡 Forecasted Value Expected Value Residuals from ARIMA (1, 1, 1) Auto-regression (AR): 𝑌𝑡 = 𝛿 + 𝜑𝑌𝑡−1 + 𝑤𝑡 Differencing: ∆𝑌𝑡 = 𝑌𝑡 − 𝑌𝑡−1 Moving average (MA): 𝑌𝑡 = 𝜇 + 𝜃𝑤𝑡−1 + 𝑤𝑡
  • 11. © 2016 Micron Technology, Inc. |11 A Machine Learning Approach
  • 12. © 2016 Micron Technology, Inc. |12 A Machine Learning Approach
  • 13. © 2016 Micron Technology, Inc. |13 A Machine Learning Approach
  • 14. © 2016 Micron Technology, Inc. |14 A Machine Learning Approach
  • 15. © 2016 Micron Technology, Inc. |15 A Machine Learning Approach
  • 16. © 2016 Micron Technology, Inc. | The Bias-Variance Tradeoff 16 𝐿 𝑌, 𝑓; 𝛾 = 𝑌𝑖 − 𝑓 𝑋𝑖 2 𝑁 𝑖=1 + 𝛾 𝑓′′ 𝑠 2 𝑑𝑠 𝛾 = ∞ 𝛾 = 00 < 𝛾 < ∞ Squared error loss Complexity penalty 𝛾 ≥ 0: Tuning Parameter
  • 17. © 2016 Micron Technology, Inc. | 17 Demand History Naïve Forecast Alternate Forecasts Ensemble Forecast Machine Learning
  • 18. © 2016 Micron Technology, Inc. | Ensembling Methods Pt. 1 18 Final pre-processing steps: - Cumulative forecasts totals - Model demand over the next 3 months, as opposed to demand 3 months from now - Separate ensemble models trained for each cumulative forecast span - Feature sorting for suitability in modeling: - linear associations - interaction-dependent associations - Feature/Outcome transformation and scaling… Outcome𝑖 = Actual𝑖 − Naive𝑖 𝑐 + Actual𝑖 + Naive𝑖 Feature𝑖𝑚 = Forecast 𝑖𝑚 − Naive𝑖 𝑐 + Forecast 𝑖𝑚 + Naive𝑖 ∆𝑌𝑖 Stacked Generalization 𝑓1 𝑋𝑖 … 𝑌𝑖 = 𝐹 𝑋𝑖 𝑓2 𝑋𝑖 𝑓3 𝑋𝑖 𝑓 𝑀 𝑋𝑖 𝐹 ∆𝑌𝑖 1 , ∆𝑌𝑖 2 , … , ∆𝑌𝑖 𝑀 , … ~
  • 19. © 2016 Micron Technology, Inc. | Ensembling Methods Pt. 2 19 Naïve Forecast: Qty ∆𝑌 ARIMA 100K -0.2 1M R1 R2 R3 R4 ∆𝑌𝑖 = 𝐿 𝑹, ∆𝑌𝑖 1 , ∆𝑌𝑖 2 , … , ∆𝑌𝑖 𝑀 , … … Boosting Algorithms 𝑌0 ∗ = 𝑌 ℎ0 𝑋 𝑌1 ∗ ℎ1 𝑋 𝑌 𝑀 ∗ ℎ 𝑀 𝑋 𝑌 = 𝐹 𝑀 𝑋
  • 20. © 2016 Micron Technology, Inc. | Ensemble Methods Pt. 3 20 Training Data T1 T2 T3 TB … Bootstrap Aggregation Bagged Estimate 𝑌𝑖 = 1 𝐵 𝑌𝑖 𝑏 𝐵 𝑏=1 𝑋𝑖1, 𝑌𝑖1 𝑋𝑖2, 𝑌𝑖2 … 𝑋𝑖,𝑇−ℎ, 𝑌𝑖,𝑇−ℎ 𝑋𝑖𝑠 𝑖 , 𝑌𝑖𝑠 𝑖 𝑋1𝑠1 , 𝑌1𝑠1 𝑋2𝑠2 , 𝑌2𝑠2 … Candidate model inputs for Product i Full sample at bth training iteration Goal: - A generalizable model for change in demand Challenges: - Have to assume the fundamentals that drove historical demand are likely to fluctuate over time - Limited to validation of the algorithm rather than testing of predictions from a specific trained model 𝑆𝑎𝑚𝑝𝑙𝑒 Forecasting h months ahead from month T 𝑋𝑖𝑠 𝑖 , 𝑌𝑖𝑠 𝑖 … 𝑋 𝑁𝑠 𝑁 , 𝑌𝑁𝑠 𝑁
  • 21. © 2016 Micron Technology, Inc. | Forecast Accuracy Metrics and Validation 21 𝑤𝑀𝐴𝑃𝐸 = 100 × Actual − Forecast Actual 𝐴𝑐𝑐𝑢𝑟𝑎𝑐𝑦 = 100 − 𝑤𝑀𝐴𝑃𝐸 Training Data: 𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 1, … , 𝑇 − ℎ Validation Data: 𝑋𝑖𝑇, 𝑌𝑖𝑇 𝑃𝑟𝑒𝑑𝑖𝑐𝑡 Training Data: 𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 2, … , 𝑇 − ℎ + 1 Validation Data: 𝑋𝑖,𝑇+1, 𝑌𝑖,𝑇+1 𝑃𝑟𝑒𝑑𝑖𝑐𝑡 … Training Data: 𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 𝐾 + 1, … , 𝑇 − ℎ + 𝐾 Validation Data: 𝑋𝑖,𝑇+𝐾, 𝑌𝑖,𝑇+𝐾 𝑃𝑟𝑒𝑑𝑖𝑐𝑡 Training Data: 𝑋𝑖𝑠, 𝑌𝑖𝑠 , 𝑠 ∈ 3, … , 𝑇 − ℎ + 2 Validation Data: 𝑋𝑖,𝑇+2, 𝑌𝑖,𝑇+2 𝑃𝑟𝑒𝑑𝑖𝑐𝑡
  • 22. © 2016 Micron Technology, Inc. | Forecast Accuracy Validation 22 Lag-1 Lag-2 (Cumulative) Lag-3 (Cumulative)
  • 23. © 2016 Micron Technology, Inc. | Conclusions 23 - Significant gains in forecast accuracy across lags - Understand the challenge and play to your strengths - Business processes, available data, and goals of the analysis - Institutional knowledge and human expertise - Acknowledgements - Micron Enterprise Data Science and Demand Management Teams