DataRobot PartnersUnify your AI stack with our open platform, extend your cloud investments, and connect with service providers to help you build, deploy, or migrate to DataRobot.
End-to-End Time Series Demand Forecasting What-If App
End-to-End Time Series Demand Forecasting What-If App
Demand ForecastingManufacturingRetailTime Series
This demand forecasting what-if app allows users to adjust certain known in advance variable values to see how changes in those factors might affect the forecasted demand.
Some examples of factors that might be adjusted include marketing promotions, pricing, seasonality, or competitor activity. By using the app to explore different scenarios and adjust key inputs, users can make more accurate predictions about future demand and plan accordingly.
Additional Resources
This app is a third instalment of a three-part series on demand forecasting. Previous accelerators can be used as a starting point to create a model deployment for the app.
The first accelerator focuses on handling common data and modeling challenges, identifies common pitfalls in real-life time series data, and provides helper functions to scale experimentation.
The second accelerator provides the building blocks for cold start modeling workflow on series with limited or no history.
Install the packages according to the configuration file requirements.txt: pip install -r requirements.txt
Update the config/config.toml file with:
API_KEY: In DataRobot, navigate to Developer Tools by clicking on the user icon in the top-right corner. From here you can generate a API Key that you will use to authenticate to DataRobot. You can find more details on creating an API key in the DataRobot documentation.
ENDPOINT: Determine your DataRobot API Endpoint. The API endpoint is the same as your DataRobot UI root. Replace {datarobot.example.com} with your deployment endpoint. API endpoint root: https://{datarobot.example.com}/api/v2. For users of the AI Cloud platform, the endpoint is https://app.datarobot.com/api/v2
DATE_COL: The datetime partition column defined before the project creation.
SERIES_ID: The multiseries ID column defined before the project creation.
TARGET: The target column defined before the project creation.
KA_COLS: A list of KA features.
DEPLOYMENT_ID: The deployment ID to use for making predictions. It can be created with the previous accelerator. If you used the above accelerator to generate the deployment ID, you can use this prediction file to test the app.
Run the app with the command: streamlit run demand_forecasting_app.py.
Manufacturers use AI to deliver the best products on the market as quickly and ethically as possible, while increasing productivity and profits. They can significantly improve demand forecasting, supply chain management, predictive maintenance, and many other operational areas with the help of artificial intelligence.
In this first installment of a three-part series on demand forecasting, this accelerator provides the building blocks for a time-series experimentation and production workflow.
This second accelerator of a three-part series on demand forecasting provides the building blocks for cold start modeling workflow on series with limited or no history. This notebook provides a framework to compare several approaches for cold start modeling.