Solution
The development of the algorithm by Technoloy Reply took place via the Python programming language, in particular using the FbProphet library. The choice fell on the algorithm offered by this library as it was decided to understand the time course of the quality variables by exploiting the settings of the mill parameters as additional regressors. In fact, FbProphet is a time series data prediction algorithm based on an additive model in which non-linear trends are adjusted for annual, weekly and daily seasonality. FbProphet is also robust to missing data, a situation that mirrored the case under analysis as for business reasons the mill is not in operation during certain days.
The algorithm is asked, in the face of a new coffee sampling for quality control, to predict the trend over the next two hours of the three quality variables used.
The trend of the predicted variables is then monitored on a dashboard where the customer can view the prediction made by the algorithm for each grinder and blend considered.