{"id":7652,"date":"2019-03-19T08:14:30","date_gmt":"2019-03-19T12:14:30","guid":{"rendered":"https:\/\/demand-planning.com\/?p=7652"},"modified":"2019-03-19T08:21:43","modified_gmt":"2019-03-19T12:21:43","slug":"4-reasons-why-your-demand-forecasting-should-use-deep-learning","status":"publish","type":"post","link":"https:\/\/demand-planning.com\/2019\/03\/19\/4-reasons-why-your-demand-forecasting-should-use-deep-learning\/","title":{"rendered":"4 Reasons Why Your Demand Forecasting Should Use Deep Learning"},"content":{"rendered":"<span class=\"cb-itemprop\" itemprop=\"reviewBody\"><p><strong>Even if you read data analytics news only occasionally, I\u2019m pretty sure you\u2019ve come across something called \u2018deep learning,\u2019 but how does it benefit demand forecasting, and why should you be using it for your demand planning?<\/strong><\/p>\n<h2>1. Deep Learning Recognizes Both Linear &amp; Non-Linear Dependencies<\/h2>\n<p>I won\u2019t be surprised if your current demand forecasting solution assumes that we live in a perfect world where dependencies, if any, are exclusively linear. And I suppose you keep searching for different workarounds not to shatter this illusion. However, linear dependencies can\u2019t describe your business environment. And here\u2019s a simple example that perfectly proves it: If I told you that no matter the <a href=\"https:\/\/ibf.org\/knowledge\/glossary\/sku-stock-keeping-unit-256\">SKU<\/a> or the category, a twofold increase in the granted discounts amount would always result in a twofold sales increase, you\u2019d never believe me. And rightly so! A solid demand forecasting solution has to recognize non-linear dependencies to be able to consider the true impact of demand-influencing factors.<\/p>\n<p>As for deep learning (and its dedicated tool \u2013 a deep neural network), it does extremely well at capturing non-linearity. In fact, <a href=\"https:\/\/www.scnsoft.com\/blog\/demand-forecasting-with-data-science#deep-learning-in-detail\">DNNs\u2019 architecture<\/a> is specifically designed for it. It relies on activation functions that are inherently good at identifying both linear and non-linear dependencies.<\/p>\n<h2>2. Deep Learning Balances Storage Costs &amp; Shortage Costs<\/h2>\n<p>The newsvendor problem is timeless. We must balance storage costs and shortage costs, with all the pain that it brings \u2013 either dissatisfied customers or extra warehouse expenses, electricity costs and disposals for perishable goods.<\/p>\n<p>Can deep learning produce demand predictions that stop these balancing troubles? It absolutely can!<\/p>\n<p>A DNN takes in your historical data. Ideally, these are your sales records for the past two years split by store and <a href=\"https:\/\/ibf.org\/knowledge\/glossary\/sku-stock-keeping-unit-256\">SKU<\/a> with \u2018promotion influence\u2019, \u2018perishable attribute\u2019 and other markers. The output that the DNN will produce can be a demand forecast for <a href=\"https:\/\/ibf.org\/knowledge\/glossary\/sku-stock-keeping-unit-256\">SKU<\/a> X (for the next week, store Y).<\/p>\n<p>For a DNN to do its demand forecasting job, it should first be trained on your historical data. During such training, the DNN learns to find the dependencies between the inputs and the output. With that, you know what output it should produce and apply a dedicated technique \u2013 a loss function \u2013 to \u2018tell the DNN off\u2019 if it produces wrong predictions. This serves as an incentive for the DNN to adjust its weights and minimize its error. And besides that, loss function completes another important task \u2013 keeping storage and shortage costs in balance. In this case, the loss function uses the same principle \u2013 it \u2018penalizes\u2019 a DNN for the predictions with a wrong storage-shortage balance.<\/p>\n<p>What\u2019s more, you can create several DNN architectures and embed different loss functions there (with different storage-shortage ratios). For instance, you\u2019ll definitely feel the advantages of such an approach while predicting demand for perishable and non-perishable goods.<\/p>\n<p>[bar id=&#8221;7593&#8243;]<\/p>\n<h2>3. Taking Advantage Of Data Diversity<\/h2>\n<p>Do you have a lot of ambitious ideas on how to forecast demand, taking into account diverse data like competitor activities and prices or trends derived from social media? If you don\u2019t have deep learning to help you with that, you may have to settle for \u2018piecing together\u2019 some insights from different data sources and using some primitive tools and enormous efforts to put these insights together.<\/p>\n<p>To turn such ideas into reality, DNNs process data from internal and external sources as well as taking in both numerical and categorical inputs, which expands your opportunities enormously. You can still feed your historical sales values to a DNN but additionally you can \u2018tell\u2019 it that those particular figures were promo sales on Friday in one of your supermarkets (all this additional information is categorical). This will let you find much more interesting dependencies in the data.<\/p>\n<h2>4. Deep Learning Keeps Your Decisions Unbiased &amp; Based On Data<\/h2>\n<p>If your demand forecasts strongly depend on the opinion of procurement specialists who interpret data and make final decisions, you can\u2019t be sure that your demand forecasts are totally unbiased. People tend to have some predefined concepts of what the demand can be, and when they look at data, they often unconsciously try to justify their ideas.<\/p>\n<p>A DNN doesn\u2019t know what it predicts \u2013 a weekly demand, an optimal inventory level or something else \u2013 so, it won\u2019t play along with any assumptions. DNNs ingest data and expose it to weights as well as smart activation and loss functions that do the work. When the network is trained and data scientists verify that it produces accurate forecasts, DNNs stick to the parameters and logic that have proved to be right, no matter what new data it consumes.<\/p>\n<h2>Deep Learning Is worth Considering, Isn\u2019t it?<\/h2>\n<p>If, after reading this blog post, it seems to you that deep learning may help you create reliable and accurate forecasts, I can consider my mission complete. But, by no means, am I saying that deep learning is the only option available. Undoubtedly, I find it appealing that DNNs can identify both linear and non-linear dependencies, weigh storage against shortage costs, analyze diverse data and avoid bias, but this technology is not a silver bullet and you should also consider <a href=\"https:\/\/bdtechtalks.com\/2018\/02\/27\/limits-challenges-deep-learning-gary-marcus\/\">the limitations of deep learning<\/a> before <a href=\"https:\/\/demand-planning.com\/2018\/07\/10\/choosing-demand-forecasting-software\/\">deciding on what demand forecasting solution to opt for<\/a>.<\/p>\n<\/span>","protected":false},"excerpt":{"rendered":"<p>Even if you read data analytics news only occasionally, I\u2019m pretty sure you\u2019ve come across something called \u2018deep learning,\u2019 but how does it benefit demand forecasting, and why should you be using it for your demand planning? 1. Deep Learning Recognizes Both Linear &amp; Non-Linear Dependencies I won\u2019t be surprised if your current demand forecasting [&hellip;]<\/p>\n","protected":false},"author":11853,"featured_media":7659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[390],"tags":[473],"class_list":{"0":"post-7652","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-advanced-analytics","8":"tag-deep-learning"},"_links":{"self":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts\/7652"}],"collection":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/users\/11853"}],"replies":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/comments?post=7652"}],"version-history":[{"count":0,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts\/7652\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/media\/7659"}],"wp:attachment":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/media?parent=7652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/categories?post=7652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/tags?post=7652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}