de-mystifying machine learning for time series forecasting€¦ · - have heard of machine learning...

22
De-mystifying machine learning for time series forecasting 1

Upload: others

Post on 18-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

De-mystifying machine

learning for time series

forecasting

1

Page 2: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Intro Poll

• How many in the room:

- Have heard of Machine Learning

- Know what Machine Learning is

- Use Machine Learning in their company for supply chain purposes

- Have used Machine Learning themselves

2

Page 3: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Machine Learning is a hot topic

3

4

Page 4: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

What is all the fuzz about

AI Taxonomy

Is part of a broader family of machine learning methods based on artificial neural networks. It has been applied to fields including image and speech recognition, natural language processing, audio recognition, machine translation, bioinformatics, drug design, medical image analysis, material inspection and board game programs.

The scientific study of algorithms and statistical models that computer systems use to perform a specific task without using explicit instructions, relying on patterns and inference instead. It is seen as a subset of artificial intelligence

Deep learningMachine learning (ML) Artificial Intelligence (AI)

The study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals. Mimic human intelligence.

3

Page 5: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

6

Everybody talks about machine

Learning:

Can it do the trick for sales forecasts?

Page 6: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

7

DEMAND

SUPPLY

CAPACITY INVENTORY

MARKETPERFORMANCE

FORECASTING& PLANNING

Customer Service Level

NPIeffectiveness

Tenderresponsiveness

“On Shelf” Availability

Ops Efficiency

Cost price

Warehousing & Transport

Days of Inventory

Expiration & Obsolete

Returns & rework

Page 7: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Forecasting is central to reducing inventory,managing capacity and delivering to the customer

8

CAPACITY INVENTORY

MARKETPERFORMANCE

FORECASTING& PLANNING

High forecast accuracy,Integral visibility,

Effective decision making

DEMAND

SUPPLY

Page 8: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Traditionally forecasting for supply chainsis done using Advanced Planning Systems

•Moving Average

• Exponential Smoothing

• Seasonal models

• Composite models

9

Page 9: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

10

In the data science world there are manycompetitions that forecast using machine learning

Page 10: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

11

In Kaggle competitions Machine Learning is used to solve all sorts of problems

Page 11: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

12

So is it as easy as just use Machine Learning?

Page 12: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

13

M4 shows that magic does not always happen

- The pure ML forecasting methods – No use of statistical timeseries models and methods – in the M4 definitely

performed below expectations.

- All pure ML methods submitted were less accurate than the benchmark, and only one was more accurate than

the Naïve. This contradicts other ML studies that have been published but are not reproduced.

Page 13: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

14

The best method for sales forecastingis to combine (ensemble) multiple methods

Machine Learning

Algorithm

Models

• Moving Average

• Naïve

• Recurrent Neural Network

• …

Features of Timeseries

• Coefficient of Variation

• Seasonality

• Trend

• …

Page 14: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

15

It is like classifying dogs, we are just looking at a different picture

Page 15: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

16

Main model: Extreme Gradient Boosting

Page 16: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

How does the ensemble method

perform?

17

Page 17: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

18

Real life example

• Company in the process industry having many different combinations

• Two data sets of around 2000 items• Many tail-end items with erratic

demand, a few high – runners making forecasting well difficult

Page 18: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

19

Machine Learning is not easy

Decide on the input data

What is relevant?

Process the data and tune

How to set parameters?Which features?

Measure the outcomes

Why is this the outcome?

Page 19: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

The setup outperformed timeseries

20

Case 1: 881 SKU – customer combinations

Absolute error went down 19%

Case 2: 1,740 SKU – customer combinations

Absolute error went down 3%

Page 20: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Machine Learning: A piece of cake?

• Machine Learning can go the extra mile in sales forecasting, but will not solve all forecasting problems. Traditional statistical methods (if tuned well) are already very well suited for this job

• It takes expertise and effort to tune machine learning models

• The real power of Machine Learning is unlocked once you add data like future orders, batch sizes or market information

21

Page 21: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Q&A

22

Page 22: De-mystifying machine learning for time series forecasting€¦ · - Have heard of Machine Learning - Know what Machine Learning is - Use Machine Learning in their company for supply

Want to know more?

Visit us at the market place for

APPLIED DATA SCIENCE, MANAGED SERVICES & DEMOS