{"id":642,"date":"2020-12-02T17:45:49","date_gmt":"2020-12-02T17:45:49","guid":{"rendered":"https:\/\/machine-learning.webcloning.com\/2020\/12\/02\/create-a-web-application-to-optimize-your-supply-chain-inventory\/"},"modified":"2020-12-02T17:45:49","modified_gmt":"2020-12-02T17:45:49","slug":"create-a-web-application-to-optimize-your-supply-chain-inventory","status":"publish","type":"post","link":"https:\/\/salarydistribution.com\/machine-learning\/2020\/12\/02\/create-a-web-application-to-optimize-your-supply-chain-inventory\/","title":{"rendered":"Create a web application to optimize your supply chain inventory"},"content":{"rendered":"<div id=\"\">\n<!-- begin main body content --><\/p>\n<h2 id=\"summary\">Summary<\/h2>\n<p>In this code pattern, learn how to create a web-based application to optimize inventory.<\/p>\n<h2 id=\"description\">Description<\/h2>\n<p>Using historical demand data to train a machine learning model, you can predict demand for certain items more accurately in the future, and ensure that your customers are able to purchase what they want. Using this predicted demand as input, along with manufacturing plant data such as cost and capacity, this application enables a store manager to quickly choose the best manufacturing plants to optimize inventory and minimize cost.<\/p>\n<p>When you have completed this code pattern, you understand how to:<\/p>\n<ul>\n<li>Deploy a Node.js-based web application<\/li>\n<li>Send and receive messages from a deployed IBM Watson\u00ae Machine Learning model using REST APIs<\/li>\n<\/ul>\n<h2 id=\"flow-diagram\">Flow diagram<\/h2>\n<p><img class=\"lazycontent\" data-src=\"https:\/\/developer.ibm.com\/developer\/default\/patterns\/leverage-decision-optimization-models-in-procurement-app-for-store-managers\/images\/leverage-decision-optimization-flow.png\" alt=\"Leverage decision optimization flow diagram\"><\/p>\n<ol>\n<li>The user creates an IBM Watson Studio Service on IBM\u00ae Cloud.<\/li>\n<li>The user creates an IBM Cloud Object Storage Service and adds that to Watson Studio.<\/li>\n<li>The user uploads the demand and plant data files to Watson Studio.<\/li>\n<li>The user creates a Decision Optimization experiment and sets objectives to minimize cost through the modeling assistant.<\/li>\n<li>The user saves the Decision Optimization as a model, and deploys it using Watson Machine Learning.<\/li>\n<li>The user uses the Node.js application to connect to the deployed model through an API and finds the optimal plant selection based on cost and capacity.<\/li>\n<\/ol>\n<h2 id=\"instructions\">Instructions<\/h2>\n<p>Get detailed instructions from the <a href=\"https:\/\/github.com\/IBM\/optimize-procurement-and-inventory-with-ai\/blob\/master\/README.md\">README<\/a> file. Those instructions explain how to:<\/p>\n<ol>\n<li>Clone the repository.<\/li>\n<li>Set the Model Deployment ID.<\/li>\n<li>Set the Model Space ID.<\/li>\n<li>Create an IBM Cloud API key.<\/li>\n<li>Generate the access token.<\/li>\n<li>Run the application.<\/li>\n<\/ol>\n<p>This code pattern is part of the <a href=\"https:\/\/developer.ibm.com\/articles\/develop-an-intelligent-inventory-and-distribution-strategy-using-ai\">Develop an intelligent inventory and procurement strategy using AI<\/a> series.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/developer.ibm.com\/patterns\/leverage-decision-optimization-models-in-procurement-app-for-store-managers\/<\/p>\n","protected":false},"author":0,"featured_media":643,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/642"}],"collection":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":0,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/642\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media\/643"}],"wp:attachment":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media?parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/categories?post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/tags?post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}