
What was the project about?
An international pharmaceutical company used machine learning to forecast sales up to six months ahead. The models supported production planning at product-group, product-type and SKU levels, improving prediction accuracy by 9%.
Who was the client?
The client was an international pharmaceutical company operating in several dozen countries. It worked in the wholesale market and used 100% of its production capacity.
Production decisions had a direct financial impact, while component delivery times could reach six months.
What challenge did the client face?
The company needed to decide which products to manufacture before actual demand was known. Product managers prepared sales forecasts used to place production orders.
Inaccurate forecasts could allocate production capacity to lower-demand products while other products remained unavailable.
Wholesale sales did not fully reflect end-user demand, which reduced the reliability of historical data. Forecasting individual stock-keeping units (SKUs) was especially difficult because demand was more volatile than at broader product-group levels.
How was the solution delivered?
SoftwareHut developed and tested machine learning models that forecast sales up to six months ahead.
The project began with an analysis of the client’s business model, data and planning process. Additional data types and proxy variables were introduced to better represent market demand.
The models generated forecasts for:
- product groups,
- product types,
- individual SKUs.
Results were presented in Power BI and used by product managers when preparing production orders.
SoftwareHut also worked on a monitoring system that compared model forecasts with predictions prepared by product managers. Group managers could be alerted when the difference exceeded an accepted threshold.
What changed after implementation?
The models were compared with forecasts prepared by product managers.
For individual SKUs, the model performed better than or equally well as product managers in seven out of ten cases. Performance was stronger for broader product categories.
Prediction accuracy improved by 9%. The forecasts gave product managers additional data for production-order decisions and helped reduce the risk of major forecasting errors.
