SlideShare a Scribd company logo
1 of 13
Download to read offline
DEMAND FORECASTING CASE
STUDY:
An Analytical solution towards Demand
Forecasting in supply chain.
BUSINESS PROBLEM:
 Leading businesses experience significant footfall on the number of
customers because of mismanagement of resources in supply chain due to
incorrect forecast of consumer demand on products.
 Companies utilize various consumer engaging methodologies like online
marketing campaigns, social media and search engine promotions, store
membership and corporate tie-ups for loyal customers instead of all this
footfall in consumers is observed.
 A traditional method being used to forecast demand of products at store
level for products which is a potential reason on footfall in number of
customers.
 High error in demand forecasting affecting production policy,
Expenditures, Sales Policy, price policy, Sales targets, Controls, Incentives,
Financial requirements and resource planning.
 Tribal method for demand forecasting also affecting buying behaviour for
consumption and incurring losses on raw materials purchased.
ANALYTICAL APPROACH:
 Business complexity and increased volatility have rendered traditional forecasting methods
less effective. Demand more often than not seems like a pattern of partially constrained
chaos, buffeted by factors that drive it up and down in ways that can’t be understood by
simply looking at historic sales volumes. Most forecasting systems produce disappointing
results and significant errors.
 Machine learning can help companies reliably model the many causes of demand variation.
Machine learning is a computer-based discipline where algorithms “learn” from the data.
Rather than following programmed instructions, the algorithms use data to build and
constantly refine a model to make predictions.
 Machine learning systems reduce perceived demand variability by capturing and modeling
the attributes that shape demand while filtering out the “noise”—random and unpredictable
demand fluctuations. They learn from the data that they process, and modify their operation
accordingly.
KEY DRIVERS FOR DEMAND:
 We’ve classified drivers based on internal and external features.
Internal External
Sales data for each product Prices of Raw products
Customer data(Flying/Trusted) Consumer tax on purchase products
DOB of customer Per capita income
Customer registration date Govt. taxes
Location Climatic conditions
Country Human Resources
Frequency of visiting Location
Store location Shipping charges on raw products
Preferred payment options Buying quantity of raw products
Last visited Leftover quantity of raw products
Products purchased Available amenities
Amount spent Facilities on purchase
Occupation Offers/Discount(General,
Weekends,Occassional,festive)
KEY DRIVERS FOR DEMAND:
Internal External
Feedback shared Customer Payment Facilities
Feedback Delivery options
Product MRP Change in expectation, taste and
preferences
Store establishment year Raw product availability(imported or not)
Store size Raw product’s production volume in that
country
Store location changed Exchange rates
Location changed(how many times) Political interference
Product sales quantity Upcoming government policies
Leftover stock data Regional effects
Returned Items Marketing procedures
Number of Persons can accommodate in
store
Store opened(out of 365 days)
REQUIRED DATA:
 We’ll be needing required customer data and sales data and demand
of each products based on a business day along with all the data
mentioned as external features in prior slides in order to have a
proper relationship between my independent and dependent
features.
 Internal featured data can be easily gathered from dynamic 365
ERP software and customer databases and external features data
we’ll collect using APIs such as weather APIs, other databases.
ANALYTICAL TECHNIQUES:
 Once we gather all the required data now we need to look forward towards our data
pre-processing and model building approach.
 Based on the data columns we can try featuring out some columns which can have an
impact on my dependent features like date columns, from how many years that store
is running etc. It can be clearly seen that some columns have categorical values, we
need to have proper representation of categorical columns into a numeric ones since
ML model fails to recognise text format data.
 Since we’re dealing with a regression problem and our dependent feature is the
demand value our dataset should be free from multi-colinear problem.
 Below diagram is a proper representation of feature engineering which is an
necessary step for a model building approach.
ANALYTICAL TECHNIQUES:
 Since we’re dealing with a regression problem proper scaling of independent
columns are necessary to identify hidden patterns and less computational time
for our model.
 In a regression problem it is always necessary to have proper treatment for
outliers in the dataset we can consider outliers based on various approaches like
IQR, Standard deviation and standard normal test statistic etc.
 Any missing values in our dataset need to be imputed because presence of null
values will lead to failure in model training process. There are various kind of
approaches for handling missing values like imputation with mean values,
imputation with the help of other columns present in the dataset. We can also
leverage a ML model to help predicting the missing values present in the dataset
like K-nearest neighbour regressor or a tree-based approach(Random Forest).
 Once we’re done with all the necessary pre-processing on the dataset we can
proceed towards the model building approach. But before that we need to decide
how many models do we need to forecast our demand on each product. Since
we’re dealing with a dataset which has a variety of products and sales data
points from various countries. Do we require multiple models or only one model is
necessary?
 We can try creating different models by partitioning our data points based on
countries/products but we need to estimate our demand and we don’t have future
data points present with us so that our ML model can predict the future demand.
We need to find an effective approach for estimation of our demand on each
product and frequency(daily).
ANALYTICAL TECHNIQUES:
 A hypothesis test is required to get the exact answer. Lets assume we’re going with one
model to forecast our demand. We’ve our pre-processed data and we also concluded that we
need 1 model. Next we’ll proceed with model building by dividing our dataset into train set,
test set and validation set.
 We’re dealing with a regression problem and we’ve various regression models present in
Machine Learning domain. We’ll try to compute the error between our test set and prediction
set after applying necessary hyper-parameter optimizations on various models and which
ever model having the lesser error will be selected as my final model for forecasting demand
of products.
 Some classic example of ML regression algorithms are :
 Linear Regression
 KNN Regressor
 Random Forest Regressor
 XGBoost Regressor
 ARIMA and SARIMA
 LSTM
TECHINAL ARCHITECTURE:
Pre-
Processing
Existing
Data
New Data
Models
Development
Time
Series
Random
Forest
XGBoost KNN LSTM
Training
Validation
Integration
Ready to use demand forecast functionality
WHY DEMAND FORECASTING IS ESSENTIAL?
 There is always a context surrounding customer behavior. It may be an upcoming holiday,
the weather or a recent event. As real product demand varies, businesses may face
few challenges:
 Income and profit loss when a product is out of stock or a service is unavailable
 Cash tied up in stock or
 The reduced margins that come with getting it out of warehouses
 Below image will help to illustrate the need for demand forecasting.
WHAT ML BASED SOLUTION BROUGHT?
 Analysis of millions of data points simultaneously.
 Business will be able to scale services and take optimized decisions.
 Capacity to analyze data across all stores in near real time.
 Ability to price products based on latest forecasted demand.
Before : After :
THANK YOU
Please share your valuable insights via e-mail at
devnathrupam@gmail.com

More Related Content

What's hot

Supply chain management
Supply chain managementSupply chain management
Supply chain management
Sagar Gadekar
 
Forecasting in Supply Chain
Forecasting in Supply ChainForecasting in Supply Chain
Forecasting in Supply Chain
E P John
 
Continuous replenishment and vendor managed inventory
Continuous replenishment and vendor managed inventoryContinuous replenishment and vendor managed inventory
Continuous replenishment and vendor managed inventory
Dr. Tapish Panwar
 
Reverse Logistics
Reverse  LogisticsReverse  Logistics
Reverse Logistics
sanket_123
 

What's hot (20)

Supply chain management
Supply chain managementSupply chain management
Supply chain management
 
Demand forecasting in supply chain
Demand forecasting in supply chainDemand forecasting in supply chain
Demand forecasting in supply chain
 
Evolution of supply chain management
Evolution of supply chain managementEvolution of supply chain management
Evolution of supply chain management
 
The "Bullwhip" Effect
The "Bullwhip" EffectThe "Bullwhip" Effect
The "Bullwhip" Effect
 
Forecasting in Supply Chain
Forecasting in Supply ChainForecasting in Supply Chain
Forecasting in Supply Chain
 
Material requirement planning, MRP.
Material requirement planning, MRP. Material requirement planning, MRP.
Material requirement planning, MRP.
 
Continuous replenishment and vendor managed inventory
Continuous replenishment and vendor managed inventoryContinuous replenishment and vendor managed inventory
Continuous replenishment and vendor managed inventory
 
Demand Planning
Demand PlanningDemand Planning
Demand Planning
 
Reverse Logistics
Reverse  LogisticsReverse  Logistics
Reverse Logistics
 
GLOBAL SOURCING
GLOBAL SOURCINGGLOBAL SOURCING
GLOBAL SOURCING
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
 
Unit 6 inventory
Unit 6 inventoryUnit 6 inventory
Unit 6 inventory
 
material requirement planning
material requirement planningmaterial requirement planning
material requirement planning
 
Supply Chain Management, Sourcing Pricing and Procurement Process
Supply Chain Management, Sourcing Pricing and Procurement ProcessSupply Chain Management, Sourcing Pricing and Procurement Process
Supply Chain Management, Sourcing Pricing and Procurement Process
 
Supply chain management & case study
Supply chain management & case studySupply chain management & case study
Supply chain management & case study
 
Bullwhip effect ppt
Bullwhip effect pptBullwhip effect ppt
Bullwhip effect ppt
 
Operations & Supply Chain Management MCQ
Operations & Supply Chain Management MCQOperations & Supply Chain Management MCQ
Operations & Supply Chain Management MCQ
 
BCG Matrix
BCG MatrixBCG Matrix
BCG Matrix
 
Market vs sales_potential-1
Market vs sales_potential-1Market vs sales_potential-1
Market vs sales_potential-1
 
Economic Order Quantity Models
Economic Order Quantity ModelsEconomic Order Quantity Models
Economic Order Quantity Models
 

Similar to Demand forecasting case study

Sears mdm lunch and learn attribute section final
Sears mdm lunch and learn attribute section finalSears mdm lunch and learn attribute section final
Sears mdm lunch and learn attribute section final
Marco Arratia
 

Similar to Demand forecasting case study (20)

Sears mdm lunch and learn attribute section final
Sears mdm lunch and learn attribute section finalSears mdm lunch and learn attribute section final
Sears mdm lunch and learn attribute section final
 
Time-to-Event Models, presented by DataSong and Revolution Analytics
Time-to-Event Models, presented by DataSong and Revolution AnalyticsTime-to-Event Models, presented by DataSong and Revolution Analytics
Time-to-Event Models, presented by DataSong and Revolution Analytics
 
Business Analytics.pptx
Business Analytics.pptxBusiness Analytics.pptx
Business Analytics.pptx
 
BA_CEC.pptx
BA_CEC.pptxBA_CEC.pptx
BA_CEC.pptx
 
Data Science Introduction by Emerging India Analytics
Data Science Introduction by Emerging India AnalyticsData Science Introduction by Emerging India Analytics
Data Science Introduction by Emerging India Analytics
 
Data mining & data warehousing
Data mining & data warehousingData mining & data warehousing
Data mining & data warehousing
 
Analytics
AnalyticsAnalytics
Analytics
 
Big Data Analytics for Predicting Consumer Behaviour
Big Data Analytics for Predicting Consumer BehaviourBig Data Analytics for Predicting Consumer Behaviour
Big Data Analytics for Predicting Consumer Behaviour
 
BEFORE! Predictive Analytics
BEFORE! Predictive Analytics BEFORE! Predictive Analytics
BEFORE! Predictive Analytics
 
Evans_Analytics2e_ppt_01.pdf
Evans_Analytics2e_ppt_01.pdfEvans_Analytics2e_ppt_01.pdf
Evans_Analytics2e_ppt_01.pdf
 
Chapter 1 Introduction to Business Analytics.pdf
Chapter 1 Introduction to Business Analytics.pdfChapter 1 Introduction to Business Analytics.pdf
Chapter 1 Introduction to Business Analytics.pdf
 
Intro_to_business_analytics_1707852756.pdf
Intro_to_business_analytics_1707852756.pdfIntro_to_business_analytics_1707852756.pdf
Intro_to_business_analytics_1707852756.pdf
 
Data science in demand planning - when the machine is not enough
Data science in demand planning - when the machine is not enoughData science in demand planning - when the machine is not enough
Data science in demand planning - when the machine is not enough
 
Analytics and Information Architecture
Analytics and Information ArchitectureAnalytics and Information Architecture
Analytics and Information Architecture
 
Business Intelligence Challenges 2009
Business Intelligence Challenges 2009Business Intelligence Challenges 2009
Business Intelligence Challenges 2009
 
IT in retail
IT in retailIT in retail
IT in retail
 
Business Intelligence Industry Perspective Session I
Business Intelligence   Industry Perspective Session IBusiness Intelligence   Industry Perspective Session I
Business Intelligence Industry Perspective Session I
 
Machine Learning and Remarketing
Machine Learning and RemarketingMachine Learning and Remarketing
Machine Learning and Remarketing
 
Benefits of a data warehouse presentation by Being topper
Benefits of a data warehouse presentation by Being topperBenefits of a data warehouse presentation by Being topper
Benefits of a data warehouse presentation by Being topper
 
Retail Forecasting
Retail ForecastingRetail Forecasting
Retail Forecasting
 

Recently uploaded

Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
mikehavy0
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
pwgnohujw
 
Abortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotecAbortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
saurabvyas476
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
wsppdmt
 
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
LuisMiguelPaz5
 
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
 

Recently uploaded (20)

Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
Abortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotecAbortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotec
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
Pentesting_AI and security challenges of AI
Pentesting_AI and security challenges of AIPentesting_AI and security challenges of AI
Pentesting_AI and security challenges of AI
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
DS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .pptDS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .ppt
 
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
如何办理澳洲拉筹伯大学毕业证(LaTrobe毕业证书)成绩单原件一模一样
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
Introduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptxIntroduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptx
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
Huawei Ransomware Protection Storage Solution Technical Overview Presentation...
 
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...
 
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTSDBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
 
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
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 

Demand forecasting case study

  • 1. DEMAND FORECASTING CASE STUDY: An Analytical solution towards Demand Forecasting in supply chain.
  • 2. BUSINESS PROBLEM:  Leading businesses experience significant footfall on the number of customers because of mismanagement of resources in supply chain due to incorrect forecast of consumer demand on products.  Companies utilize various consumer engaging methodologies like online marketing campaigns, social media and search engine promotions, store membership and corporate tie-ups for loyal customers instead of all this footfall in consumers is observed.  A traditional method being used to forecast demand of products at store level for products which is a potential reason on footfall in number of customers.  High error in demand forecasting affecting production policy, Expenditures, Sales Policy, price policy, Sales targets, Controls, Incentives, Financial requirements and resource planning.  Tribal method for demand forecasting also affecting buying behaviour for consumption and incurring losses on raw materials purchased.
  • 3. ANALYTICAL APPROACH:  Business complexity and increased volatility have rendered traditional forecasting methods less effective. Demand more often than not seems like a pattern of partially constrained chaos, buffeted by factors that drive it up and down in ways that can’t be understood by simply looking at historic sales volumes. Most forecasting systems produce disappointing results and significant errors.  Machine learning can help companies reliably model the many causes of demand variation. Machine learning is a computer-based discipline where algorithms “learn” from the data. Rather than following programmed instructions, the algorithms use data to build and constantly refine a model to make predictions.  Machine learning systems reduce perceived demand variability by capturing and modeling the attributes that shape demand while filtering out the “noise”—random and unpredictable demand fluctuations. They learn from the data that they process, and modify their operation accordingly.
  • 4. KEY DRIVERS FOR DEMAND:  We’ve classified drivers based on internal and external features. Internal External Sales data for each product Prices of Raw products Customer data(Flying/Trusted) Consumer tax on purchase products DOB of customer Per capita income Customer registration date Govt. taxes Location Climatic conditions Country Human Resources Frequency of visiting Location Store location Shipping charges on raw products Preferred payment options Buying quantity of raw products Last visited Leftover quantity of raw products Products purchased Available amenities Amount spent Facilities on purchase Occupation Offers/Discount(General, Weekends,Occassional,festive)
  • 5. KEY DRIVERS FOR DEMAND: Internal External Feedback shared Customer Payment Facilities Feedback Delivery options Product MRP Change in expectation, taste and preferences Store establishment year Raw product availability(imported or not) Store size Raw product’s production volume in that country Store location changed Exchange rates Location changed(how many times) Political interference Product sales quantity Upcoming government policies Leftover stock data Regional effects Returned Items Marketing procedures Number of Persons can accommodate in store Store opened(out of 365 days)
  • 6. REQUIRED DATA:  We’ll be needing required customer data and sales data and demand of each products based on a business day along with all the data mentioned as external features in prior slides in order to have a proper relationship between my independent and dependent features.  Internal featured data can be easily gathered from dynamic 365 ERP software and customer databases and external features data we’ll collect using APIs such as weather APIs, other databases.
  • 7. ANALYTICAL TECHNIQUES:  Once we gather all the required data now we need to look forward towards our data pre-processing and model building approach.  Based on the data columns we can try featuring out some columns which can have an impact on my dependent features like date columns, from how many years that store is running etc. It can be clearly seen that some columns have categorical values, we need to have proper representation of categorical columns into a numeric ones since ML model fails to recognise text format data.  Since we’re dealing with a regression problem and our dependent feature is the demand value our dataset should be free from multi-colinear problem.  Below diagram is a proper representation of feature engineering which is an necessary step for a model building approach.
  • 8. ANALYTICAL TECHNIQUES:  Since we’re dealing with a regression problem proper scaling of independent columns are necessary to identify hidden patterns and less computational time for our model.  In a regression problem it is always necessary to have proper treatment for outliers in the dataset we can consider outliers based on various approaches like IQR, Standard deviation and standard normal test statistic etc.  Any missing values in our dataset need to be imputed because presence of null values will lead to failure in model training process. There are various kind of approaches for handling missing values like imputation with mean values, imputation with the help of other columns present in the dataset. We can also leverage a ML model to help predicting the missing values present in the dataset like K-nearest neighbour regressor or a tree-based approach(Random Forest).  Once we’re done with all the necessary pre-processing on the dataset we can proceed towards the model building approach. But before that we need to decide how many models do we need to forecast our demand on each product. Since we’re dealing with a dataset which has a variety of products and sales data points from various countries. Do we require multiple models or only one model is necessary?  We can try creating different models by partitioning our data points based on countries/products but we need to estimate our demand and we don’t have future data points present with us so that our ML model can predict the future demand. We need to find an effective approach for estimation of our demand on each product and frequency(daily).
  • 9. ANALYTICAL TECHNIQUES:  A hypothesis test is required to get the exact answer. Lets assume we’re going with one model to forecast our demand. We’ve our pre-processed data and we also concluded that we need 1 model. Next we’ll proceed with model building by dividing our dataset into train set, test set and validation set.  We’re dealing with a regression problem and we’ve various regression models present in Machine Learning domain. We’ll try to compute the error between our test set and prediction set after applying necessary hyper-parameter optimizations on various models and which ever model having the lesser error will be selected as my final model for forecasting demand of products.  Some classic example of ML regression algorithms are :  Linear Regression  KNN Regressor  Random Forest Regressor  XGBoost Regressor  ARIMA and SARIMA  LSTM
  • 10. TECHINAL ARCHITECTURE: Pre- Processing Existing Data New Data Models Development Time Series Random Forest XGBoost KNN LSTM Training Validation Integration Ready to use demand forecast functionality
  • 11. WHY DEMAND FORECASTING IS ESSENTIAL?  There is always a context surrounding customer behavior. It may be an upcoming holiday, the weather or a recent event. As real product demand varies, businesses may face few challenges:  Income and profit loss when a product is out of stock or a service is unavailable  Cash tied up in stock or  The reduced margins that come with getting it out of warehouses  Below image will help to illustrate the need for demand forecasting.
  • 12. WHAT ML BASED SOLUTION BROUGHT?  Analysis of millions of data points simultaneously.  Business will be able to scale services and take optimized decisions.  Capacity to analyze data across all stores in near real time.  Ability to price products based on latest forecasted demand. Before : After :
  • 13. THANK YOU Please share your valuable insights via e-mail at devnathrupam@gmail.com