In this code pattern, learn how to create a web-based application to optimize inventory.
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.
When you have completed this code pattern, you understand how to:
- Deploy a Node.js-based web application
- Send and receive messages from a deployed IBM Watson® Machine Learning model using REST APIs
- The user creates an IBM Watson Studio Service on IBM® Cloud.
- The user creates an IBM Cloud Object Storage Service and adds that to Watson Studio.
- The user uploads the demand and plant data files to Watson Studio.
- The user creates a Decision Optimization experiment and sets objectives to minimize cost through the modeling assistant.
- The user saves the Decision Optimization as a model, and deploys it using Watson Machine Learning.
- 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.
Get detailed instructions from the README file. Those instructions explain how to:
- Clone the repository.
- Set the Model Deployment ID.
- Set the Model Space ID.
- Create an IBM Cloud API key.
- Generate the access token.
- Run the application.
This code pattern is part of the Develop an intelligent inventory and procurement strategy using AI series.