Article

Data Science And Analytics For Operations

November 19, 2026

Supply chain risk index for predictive analysis of delays in industrial supply chain

Gabriel Moreira de Lima; Renato Cividini Matthiesen

DOI: 10.22167/2675-6528-202603857

Article derived from a Final Course Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

This study addressed the development of a Supply Risk Index (SRI) to predict delays in purchase orders from a multinational company in the pulp and paper equipment sector, aiming to support the prioritization of follow-up in the supply area. The objective was to estimate in advance the probability and duration of delays in purchase orders, increasing supply chain risk visibility. The methodology employed machine learning techniques, notably the LightGBM algorithm, applied to a historical database of over 150,000 orders extracted from an ERP system. This database contained information on supplier, material group, order value, planned delivery time, and open order load. A classification model was developed, with class balancing via SMOTE, to estimate the probability of delay, and a regression model to predict the number of days of delay. Model evaluation used metrics such as F1-score, area under the ROC curve, Brier score, MAE, and RMSE. Interpretability was achieved through SHAP values. The results indicated that the SRI adequately discriminated orders with a higher propensity for delay and provided explanations aligned with the literature on data-driven supply chain risk management. The integration of these components into an automated production workflow allowed for the generation, for each open order, of the probability of delay, a risk score, and the main explanatory factors, supporting the prioritization of supplier follow-up.

Keywords: Predictive analysis; Machine learning; Supply chain; Purchase order diligence; LightGBM.

1. Introduction

Efficient supply chain management is one of the main strategic challenges for contemporary industrial organizations, especially in highly complex segments, such as the pulp and paper equipment industry, characterized by intensive capital use, a multiplicity of suppliers, and operational variability. In this context, the ability to anticipate supply delay risks has become essential for maintaining competitiveness, operational efficiency, and organizational resilience (Christopher and Peck, 2004; Müller et al., 2025).

In recent years, the adoption of machine learning techniques has been consolidated as a innovative predictive approach for risk analysis in supply chains (Brintrup et al., 2020; Woźniak et al., 2024). Algorithms such as LightGBM, Random Forest, and eXtreme Gradient Boosting demonstrate significant effectiveness in classifying risk events in large databases, enabling the automated and predictive identification of complex delay patterns that would hardly be detected by traditional methods (Hussein and Ali, 2025; Ke et al., 2017; Zaghdoudi et al., 2024).

In the context of the Control of Supplies area (supply management), responsible for the follow-up of purchase orders, the implementation of predictive systems based on machine learning optimizes order tracking and directs resources to orders with a higher probability of delay, promoting reduction of operational costs, increase in logistical performance, and better customer satisfaction (Brintrup et al., 2020; Eboseremen et al., 2024; Müller et al., 2025). The relevance of the study thus arises from the growing demand for advanced analytical tools for risk management in globalized industrial chains, with scientific and operational contributions, by providing greater predictability, control, and resilience in the face of supply process volatility (Zaghdoudi et al., 2024). Reviewed studies agree that algorithms based on gradient-boosted decision trees, such as LightGBM and XGBoost, show superior performance to traditional statistical methods in predicting delays (Hussein and Ali, 2025; Ke et al., 2017; Zaghdoudi et al., 2024), and recognize the importance of variables related to supplier profile and material complexity as central risk predictors (Brintrup et al., 2020; Müller et al., 2025).

In contrast, a gap is observed in the literature regarding the scarcity of studies that integrate, in a single operational artifact, estimates of delay probability, delay duration prediction, and local explainability per order, associated with automated routines and integrated into real Enterprise Resource Planning systems (Babai et al., 2025; Müller et al., 2025). Many of the available works remain at a conceptual level or in controlled contexts, with less emphasis on applications integrated into real transactional systems and productive order tracking routines (Brintrup et al., 2020; Woźniak et al., 2024; Yang et al., 2023; Zaghdoudi et al., 2024).

Faced with this scenario, which demands greater predictability, control, and resilience in supply management, this work is justified by the need to develop advanced analytical tools. Thus, the objective of this study was to develop and validate a Supply Risk Index that integrated, in a single operational artifact, the estimation of the probability of delay using LightGBM with SMOTE, the prediction of delay days, interpretability by Shapley Additive exPlanations, and an automated routine for generating forecasts for the open orders of a multinational company in the pulp and paper sector.

2. Material and Methods

The research was characterized as applied in nature, with a quantitative approach and an exploratory-descriptive character. The methodological structure adopted was that of a cross-sectional documentary case study, according to practices in data science (Babai et al., 2025; Yang et al., 2023). The central objective was to develop and validate a Supply Risk Index (SRI) to predict delays in purchase orders.

The object of study consisted of the supply history of a Brazilian subsidiary of a multinational group. This company, headquartered in Curitiba, in the state of Paraná, acts as a supplier of equipment and services for the pulp and paper industry. Its purchasing portfolio covers both Engineering, Procurement and Construction (EPC) model projects and maintenance services and spare parts.

The data were extracted from the organization’s Enterprise Resource Planning (ERP) system. Completed orders were considered, classified between on-time deliveries and delayed cases. Subsequently, the records were filtered to include only those with a delivery date within the last 12 months, ensuring temporal relevance for model training (Müller et al., 2025). The historical base totaled over 150,000 orders.

The variables used included vendor (Vendor), material group (MATKL), net order value (NetOrderValue), issue date (BEDAT), and planned delivery date (Due Date incl. ex works time). From these, variables such as Days To Delivery were derived, calculated as the difference in business days between the issue date and the due date, and the binary target of actual delay (Ke et al., 2017).

Regarding ethical aspects, the project was exempted from registration and analysis by the Research Ethics Committee (CEP). This exemption occurred because it fit within item V of the sole paragraph of art. 1 of Resolution of the National Health Council (CNS) No. 510, of April 7, 2016. The study exclusively used aggregated transactional records, without individual identification or direct participation of human beings.

Vendor identifiers were encoded before modeling, and the identification of the data owner organization was kept confidential. No personal data was processed. The data preparation, modeling, and IRF deployment steps were implemented in Python language.

For the implementation, the pandas and numpy libraries were used for data manipulation, scikit-learn for sample partitioning and metric calculation (Pedregosa et al., 2011). The imbalanced-learn library was employed for the application of the SMOTE method (Chawla et al., 2002), and LightGBM for model training (Ke et al., 2017).

The shap library was used for the calculation of SHAP values (Lundberg and Lee, 2017), and matplotlib and seaborn for generating supporting graphs. A data preparation pipeline was built in Python, transforming raw ERP records into a base ready for modeling. This pipeline included the conversion of date columns and the creation of the Days To Delivery variable.

The categorical variables MATKL and Vendor were encoded as categories and subsequently transformed into dummies for the classification model (Ke et al., 2017). A specific step calculated the supplier load (carga_fornecedor), estimating the average number of open orders over time by Vendor. This information was saved to a CSV file for use in training and production execution (Brintrup et al., 2020).

In the IRF production routine, two load perspectives were considered: the instantaneous load of open orders per supplier and the historical average load. The instantaneous load was recalculated at each monthly execution, reflecting current pressure. The historical average load was derived from the consolidated order history, representing the supplier’s average utilization pattern (Babai et al., 2025; Brintrup et al., 2020).

For the classification model, the features used were MATKL, Vendor, NetOrderValue, Days To Delivery, and supplier_load. Records with missing values were removed, and an input matrix Xencoded was constructed by complete one-hot encoding of the categories (Babai et al., 2025).

The dataset was partitioned into training and testing in an 80/20 ratio, using the train_test_split function with stratification by the delay variable (Babai et al., 2025). Due to the imbalance between on-time and delayed orders (average ratio of 9:1), the SMOTE method was applied to the training set.

SMOTE increased the minority class proportion to a sampling strategy level of 0.5, controlling for overfitting (Hussein and Ali, 2025). The main classifier was a binary LightGBM, of the Gradient Boosted Decision Trees (GBDT) type, with hyperparameters tuned to control complexity, such as num_leaves, max_depth, min_data_in_leaf, feature_fraction, and bagging_fraction (Ke et al., 2017).

The classification model training used early stopping from an internal validation set. The classifier’s evaluation on the test set was performed using the confusion matrix and the calculation of accuracy, precision, recall, and F1-score for the delay class, in addition to macro F1, weighted F1, ROC AUC, and Brier score, all obtained with scikit-learn (Fawcett, 2006; Saito and Rehmsmeier, 2015).

The decision threshold, whose default value in binary classifiers is 0.5, was redefined by grid search in the range of 0.10 to 0.60, with increments of 0.01. The value that maximized the F1-score of the delay class was selected, adjusting the trade-off between precision and recall for the preventive prioritization of follow-up.

The delay probability estimated by the LightGBM classifier, initially on a continuous scale from 0 to 1, was transformed into a standardized Supply Risk Index (SRI) from 0 to 100. This transformation used distinct linear rescales for probabilities below and above the optimal threshold, facilitating operational interpretation of the results.

Probability calibration was diagnosed through a calibration curve built with sklearn.calibration_curve (Babai et al., 2025). Complementarily, a LightGBM regression model was trained to predict Actual Delay Days, considering only records with positive delay (On Time = 0 and ActualDelayDays > 0).

The regression target was transformed by log1p to reduce the long-tail effect (Müller et al., 2025). The regression model used an 80/20 train-test split, early stopping, and evaluation via Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE) on the original scale of days (Woźniak et al., 2024).

The explanatory variables for the regression were the same as those used in the risk classification: material group, supplier, net order value, planned delivery time, and supplier load. Interpretability was obtained through SHAP values, calculated with the TreeExplainer function on a sample of the training set (Lundberg and Lee, 2017).

The impacts of Vendor and MATKL dummies were aggregated into synthetic features for a more manageable summary plot (Brintrup et al., 2020). The production pipeline, implemented in the irf.py script, loaded the trained artifacts, processed a monthly open order file, and applied the predictions (Ke et al., 2017).

The routine produced, for each order, the probability of delay, the binary prediction of delay, the IRF Risk, the estimate of predicted delay days, and local explanations via SHAP. The results were saved in a spreadsheet with business-friendly columns (Eboseremen et al., 2024).

Additionally, a deterministic business rule was incorporated for orders whose contractual deadline had already expired. For these cases, the due date plus an operational tolerance was calculated. If the reference date for the IRF execution was later than this limit, the order was automatically classified as “Delay” with a 100% probability.

3. Results and Discussion

The decision threshold optimization for the delay classification model revealed a `threshold` of 0.370, which resulted in an F1-score of 0.641 on the test set. This value represents a gain of 2.9 percentage points compared to the standard threshold of 0.50, which would yield an F1-score of 0.612. The choice of this `threshold` adjusted the trade-off between precision and `recall`, allowing the model to classify orders with a predicted probability from 37.0% as “Delay”. This calibration of the classifier’s sensitivity is crucial for capturing a larger proportion of actual delays, even at the cost of a controlled increase in false positives, which aligns with the objective of preventive prioritization of `follow-up` in supply chain management.

The model evaluation on the test set, which comprised 6,260 observations (4,834 from class 0 and 1,426 from class 1), demonstrated robust performance. The confusion matrix indicated 4,161 true negatives, 673 false positives, 435 false negatives, and 991 true positives. Based on these results, the model’s Accuracy was 0.82, the precision for class 1 reached 0.60, the recall for class 1 was 0.69, and the F1-score for class 1 was 0.64. Additionally, the macro F1 was 0.76 and the weighted F1 was 0.83, while the area under the ROC AUC curve was 0.8745 and the Brier score was 0.1120. These values confirm the model’s ability to effectively discriminate requests with a higher propensity for delay, providing a solid basis for decision-making (Fawcett, 2006; Saito and Rehmsmeier, 2015).

In the balanced training set, which used the `SMOTE` technique and consisted of 28,996 observations (19,331 from class 0 and 9,665 from class 1), the model presented an even higher performance. The confusion matrix for this set recorded 16,712 true negatives, 2,619 false positives, 1,558 false negatives, and 8,107 true positives. The performance metrics were: accuracy of 0.86, class 1 precision of 0.76, class 1 recall of 0.84, class 1 F1-score of 0.80, macro F1 of 0.84, and weighted F1 of 0.86. The `ROC AUC` and `Brier score` values were 0.9353 and 0.0967, respectively. The comparison between the training and testing results revealed a moderate loss of performance, especially in the `ROC AUC` and `Brier score` metrics, suggesting a greater fit to the training data, but without significantly compromising the predictive ability on unseen data (Hussein and Ali, 2025).

This difference between training and testing performance is interpreted as a moderate and controlled overfitting, a common behavior in models that adhere well to historical data but can still generalize to new observations. The stability of predictions on unseen data is satisfactory, as indicated by the proximity of `ROC AUC` and `Brier score` values between the training and testing sets. This characteristic is fundamental for the applicability of the Supply Risk Index (SRI) in a dynamic operational environment, where generalization capability is as important as accuracy on historical data (Babai et al., 2025).

The delay probability, initially estimated by the `LightGBM` classifier on a continuous scale from 0 to 1, was rescaled to a standardized Supply Risk Index (SRI) from 0 to 100, aiming to facilitate operational interpretation. For probabilities less than or equal to the optimal `threshold`, linear rescaling was applied in the 0 to 50 range. For probabilities greater than the optimal `threshold`, a specific transformation rescaled the values to the 50 to 100 range. This approach preserved the relative ordering of probabilities but repositioned the cutoff point at the central value of the scale, making the SRI more intuitive: values above 50 indicate a higher propensity for delay, and below 50, a higher propensity for on-time delivery. This standardization is crucial for analytical communication and decision support in the area of `Control of Supplies`.

The calibration of probabilities generated by the classification model was evaluated through a calibration curve in ten probability bands, comparing the actual frequency of delays with the average predicted probability in each band. The IRF calibration curve showed that the probabilities produced by the `LightGBM` model with `SMOTE` consistently approach the perfect calibration line throughout the entire range of 0 to 1. Although in intermediate risk bands, between 0.3 and 0.7, a slight deviation below the dashed line was observed, suggesting a discrete underestimation of the actual frequency of delays, the relationship between predicted probability and observed frequency maintained a monotonic behavior close to the diagonal. This reinforces the interpretability of probabilities as well-calibrated risk measures to support order prioritization (Babai et al., 2025).

For the delay days regression model, a calibration curve by predicted delay bands was developed, confronting the average predicted delay with the average actual delay and recording the approximate average absolute errors in each interval. On average, the estimates followed the observed actual delay reasonably closely across the different duration classes. In the bands from 0 to 5, 5 to 10, and 10 to 20 days, the model tended to slightly underestimate the actual delay, however, with still relatively low average absolute errors, indicating good adherence for short and moderate delays. In the upper bands, especially between 20 and 40 days and above 40 days, the average actual delay remained close to or slightly above the predicted delay.

These results suggest that the model can capture the order of magnitude of longer delays, even with the natural variability inherent in these events. Together, the delay day predictions are sufficiently calibrated to support the prioritization of critical cases, allowing differentiation between short, medium, and long duration delays. It is important to note that the calculation of delay days is not intended for precise rescheduling of dates, but serves as an approximate reference of the historical magnitude of the expected delay for each item, based on the behavior observed in the training set (Woźniak et al., 2024).

The distribution of `SHAP` values was employed to illustrate the impacts of the main predictor variables on the classification model’s output, using a sample from the training set. The variables `MATKL`, `vendor_load`, `Days To Delivery`, `Vendor`, and `NetOrderValue` were identified as the most influential, with `SHAP` amplitudes reaching impacts greater than three points on the probability of delay. This interpretability analysis is fundamental for aligning the IRF with business attributes directly related to the supply process, providing clear explanations about the factors driving the risk of delay (Lundberg and Lee, 2017; Brintrup et al., 2020).

The categorical variables `MATKL` (material group) and `Vendor` (supplier), represented in an aggregated form, exhibited asymmetric distributions of `SHAP` values. This indicates that specific groups of materials and suppliers exert systematic influence on the elevation or reduction of the estimated risk, corroborating the literature that emphasizes the role of supplier profiles and material portfolios in generating delays (Brintrup et al., 2020; Müller et al., 2025). This observation is crucial for strategic supply management, as it allows for the identification and focus on categories and suppliers that represent the greatest leverage points for risk mitigation.

The `supplier_load` variable demonstrated an inversely proportional behavior, reflecting the operational maturity of the supply chain. Higher load levels were associated with negative `SHAP` values, indicating that suppliers with high loads tend to meet deadlines better, suggesting they are more structured and reliable partners. In contrast, suppliers with lower order volumes shifted the forecast towards higher risk, concentrating supply volatility. This finding highlights the importance of considering supplier capacity and stability in the due diligence process (Brintrup et al., 2020).

The `Days To Delivery` variable showed an expressive directional relationship, indicating that very short planned lead times drastically increase the risk of delay, while longer lead times act to mitigate this risk. This result reinforces the importance of establishing realistic `lead times` and considering the operational context when defining delivery deadlines. The `NetOrderValue` variable (net order value) exerted a more moderate, but not negligible, impact, suggesting that higher value orders tend to present a slight increase in risk, possibly reflecting greater complexity or criticality of these supplies, which demands additional attention in the `follow-up`.

As a culmination of the development of the Supply Risk Index, the validated predictive architecture was integrated into an automated production flow. This operational routine processes the monthly open order base, loads the previously trained artifacts (LightGBM classification model, delay regression model, model columns, and risk parameters), and applies the same transformations used in the modeling stage. The final artifact generated by this flow consolidates, for each purchase order, the probability estimated by the classifier, the binary delay prediction based on the optimized threshold, the rescaled SRI Risk, the estimated days of delay, and the explanatory variable with the greatest local impact identified via SHAP (Ke et al., 2017; Eboseremen et al., 2024).

This structure translates the model’s analytical performance and validation metrics into practical and actionable indicators, enabling continuous monitoring and data-driven decision-making by the supply area. The production routine also incorporated a deterministic business rule for orders whose contractual deadline had already expired, automatically classifying them as “Late” with 100% probability, regardless of the model’s prediction. This approach reflects the understanding that, once the agreed-upon tolerance window is exceeded, the risk ceases to be probabilistic and becomes an effectively observed delay, allowing the supervised model to focus on discriminating orders with deadlines not yet reached but with a high propensity for non-compliance.

However, it is essential to acknowledge the inherent limitations of the presented results. The study was developed and validated in a specific operational scenario, using historical delay data from a single organization. This particularity may restrict the generalization of the results to other business contexts, industrial sectors, or distinct geographical regions. The predictive modeling was built based on variables available in the original dataset, without the incorporation of potentially relevant external factors, such as regulatory changes, macroeconomic variations, or exceptional events, like pandemics and logistical crises, which could significantly influence delay patterns (Brintrup et al., 2020; Müller et al., 2025).

Additionally, class balancing using `SMOTE`, while necessary to mitigate class imbalance, introduces synthetic observations that may not perfectly represent the actual data distribution, potentially affecting the model’s generalization capability. Decision threshold optimization was performed based on the F1-score for class 1 (delays), which might not be ideal in scenarios where other metrics, such as precision or `recall`, hold differentiated strategic importance. Model evaluation was predominantly conducted on training and testing sets derived from a single temporal data window, limiting the analysis of temporal stability of performance metrics and the IRF’s generalization capability over time. The absence of stratified cross-validation or block temporal validation prevents a more comprehensive assessment of the model’s robustness against variations in delay patterns across different periods.

In summary, the developed Supply Risk Index proved to be an effective predictive tool for the multinational company, capable of estimating the probability and duration of purchase order delays. The classification and regression models, based on `LightGBM` and `SMOTE`, presented consistent performance metrics and robust interpretability via `SHAP` values, which identified `MATKL`, `vendor_load`, `Days To Delivery`, `Vendor`, and `NetOrderValue` as the main risk predictors. The integration of these components into an automated production workflow allows for the generation of actionable forecasts and explanatory factors for each open order, supporting the prioritization of due diligence and proactive risk management in the supply chain.

4. Conclusion

The present study sought to develop and validate a Supply Risk Index (SRI) that integrated the estimation of the probability and duration of delays in purchase orders, the interpretability of risk factors, and an automated routine for generating forecasts for a multinational company in the pulp and paper sector. To this end, the LightGBM algorithm was employed with class balancing via SMOTE, applied to a historical database of orders. It was verified that the classification model presented robust performance, with an F1-score of 0.641 on the test set, and the generated probabilities proved to be well-calibrated. The regression model, in turn, demonstrated the capacity to approximate the magnitude of delays. SHAP value analysis identified variables such as material group, supplier load, delivery days, supplier, and net order value as the main risk predictors, providing explanations aligned with risk management in supply chains. The predictive architecture was integrated into an automated production workflow, which generates, for each open order, the probability of delay, a risk score, the estimated number of delay days, and the most impactful explanatory factor. This integration represents a significant practical and managerial contribution, by enabling proactive prioritization of supplier follow-up and supply chain risk management, optimizing resources and enhancing operational resilience.

However, the study was developed and validated in a specific operational scenario, using historical data from a single organization, which may restrict the generalization of the results to other business contexts. The predictive modeling was built based on variables available in the original dataset, without the incorporation of potentially relevant external factors, such as regulatory changes, macroeconomic variations, or exceptional events. Additionally, class balancing using SMOTE, although necessary, introduced synthetic observations that may affect generalization capability, and the model evaluation was predominantly conducted on training and testing sets derived from a single temporal data window, limiting the analysis of temporal stability. As future developments, periodic updates of the model with new temporal data windows and the inclusion of additional variables related to the operational or contractual context are suggested. The use of more robust validation schemes, such as stratified cross-validation or block temporal validation, is also recommended to more comprehensively evaluate the stability and generalization capability of the IRF over time. Finally, it is pertinent to investigate the application of explicit probability recalibration techniques, such as isotonic regression or Platt scaling, and a comparative study on the adjustment of class weights as a replacement for SMOTE.

Bibliographic References

Babai, M.Z.; Arampatzis, M.; Hasni, M.; Lolli, F.; Tsadiras, A. 2025. On the use of machine learning in supply chain management. IMA Journal of Management Mathematics 36(1): 21-49.

Brintrup, A.; Pak, J.; Ratiney, D.; Pearce, T.; Wichmann, P.; Woodall, P.; McFarlane, D. 2020. Supply chain data analytics for predicting supplier disruptions: a case study in complex asset manufacturing. International Journal of Production Research 58(11): 3330-3341.

Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. 2002. SMOTE: synthetic minority over-sampling technique. Journal of Artificial Intelligence Research 16: 321-357.

Christopher, M.; Peck, H. 2004. Building the resilient supply chain. International Journal of Logistics Management 15(2): 1-13.

Eboseremen, B.O.; Stephen, A.E.; Okare, B.P.; Aduloju, T.D.; Kamau, E.Ν. 2024. Reviewing the role of Al and machine learning in supply chain analytics. GSC Advanced Research and Reviews 5(2): 94-100.

Fawcett, T. 2006. An introduction to ROC analysis. Pattern Recognition Letters 27(8): 861-874.

Hussein, N.J.; Ali, A.M. 2025. Machine learning-driven predictive analytics for real-time supply chain risk management. In: International Conference on Applied Innovations in IT, 2025. Anais…

Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. 2017. LightGBM: a highly efficient gradient boosting decision tree. In: Advances in Neural Information Processing Systems 30.

Lundberg, S.M.; Lee, S.I. 2017. A unified approach to interpreting model predictions. In: Advances in Neural Information Processing Systems 30.

Müller, N.; Burggräf, P.; Steinberg, F.; Sauer, C.R.; Schütz, M. 2025. An analytical review of predictive methods for delivery delays in supply chains. Supply Chain Analytics 11: 100130.

Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; Vanderplas, J.; Passos, A.; Cournapeau, D.; Brucher, M.; Perrot, M.; Duchesnay, É. 2011. Scikit-learn: machine learning in Python. Journal of Machine Learning Research 12: 2825-2830.

Saito, T.; Rehmsmeier, M. 2015. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE 10(3): e0118432.

Woźniak, D.; Stokłosa, J.; Chmura, R.; Warszycki, M.; Szrajnert, R. 2024. Predictive algorithms for supply chain management: a comprehensive approach to forecasting delivery times and managing risk. Journal of Modern Science 57: 498.

Yang, M.; Lim, M.K.; Qu, Y.; Ni, D.; Xiao, Z. 2023. Supply chain risk management with machine learning technology: a literature review and future research directions. Computers & Industrial Engineering 175: 108859.

Zaghdoudi, M.A.; Hajri-Gabouj, S.; Ghezail, F.; Darmoul, S.; Varnier, C.; Zerhouni, N. 2024. Collaborative and integrated data-driven delay prediction and supplier selection optimization: a case study in a furniture industry. Computers & Industrial Engineering 197: 110590.

Article originating from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

Data Science And Analytics For Operations

November 19, 2026

Polyp-YOLO: an efficient, low-latency detector for polyps in colonoscopies

The early detection of colorectal polyps is crucial for the prevention of colorectal cancer, and real-time computer-aided detection (CADe) systems have shown gains in endoscopic practice. The objective was to develop and validate a lightweight colorectal polyp detector, based on the YOLO architecture, capable of operating on restricted hardware with high precision and low latency. The methodology used public datasets of endoscopic images, partitioning the Kvasir-SEG dataset for training and internal validation, and CVC-ClinicDB and ETIS-Larib Polyp DB for cross-dataset evaluation. Lightweight variants of the YOLOv8, YOLO11, and YOLO26 families with 640×640 pixel input were evaluated. A grid search tested 70 combinations of optimizers and activation functions, and identified AdaBelief and LeakyReLU as the configuration with the best generalization. The optimization pipeline applied unstructured pruning, knowledge distillation, and fine-tuning. The optimized YOLO11n-seg model outperformed the higher-capacity architecture (YOLO26m-seg) in mAP50 and showed similar performance in F1-Score, operating with approximately seven times fewer parameters. It achieved an mAP50 of 0.7929 and an F1-Score of 0.7514 on the ETIS-Larib dataset, and fast inference was demonstrated in different formats, with real-time latencies. The explainability of predictions was validated by Grad-CAM activation maps. The proposed solution demonstrated itself to be a promising experimental tool for diagnostic support, with technical feasibility for integration into environments with reduced computational power, although it requires future clinical validation.

Keywords: Computer-aided detection; Edge computing; Hyperparameter optimization; Endoscopic image segmentation; Medical computer vision.

Data Science And Analytics For Operations

November 19, 2026

Multi-touch Attribution in E-commerce: A Comparison between Markov Chains and Last-Click

The research investigated Multi-touch Attribution (MTA) Models in e-commerce, seeking to overcome the limitations of the Last-Click model, widely used in the market. The objective was to compare the performance of first-order Markov Chains with Last-Click and Position-Based approaches, identifying the value of assistance channels frequently ignored. To this end, Markov Chain algorithms were applied to a large volume of purchase journey data from the Google Merchandise Store, extracted via BigQuery. The study probabilistically mapped the purchase journey and calculated the Removal Effect to quantify channel relevance. The results demonstrated that data-driven models identified the strategic role of discovery (awareness) and assistance channels, which Last-Click neglected in 65% of complex journeys. Simulated financial analysis indicated an approximate 28% hidden efficiency in Cost Per Acquisition (CPA) for Paid Search, compared to the Last-Click model. It was concluded that Markov Chains allowed for a more accurate mapping of purchase journeys, validating the technical feasibility of the modeling and providing evidence for more efficient budget allocation in digital media, mitigating the risk of early divestment in crucial channels.

Keywords: Assistance channels; Data science; E-commerce; Digital marketing; Media optimization.

Data Science And Analytics For Operations

November 19, 2026

Predictive Analysis Methodology for Performance Optimization in E-commerce: Correlation between Public Data and Paid Media

A predictive analysis methodology was developed for e-commerce, integrating transactional data and public search trends. The objective was to develop and validate a predictive model, based on machine learning algorithms, capable of correlating organic search trends with sales performance and paid media costs in the Beauty and Health category of Brazilian e-commerce. The Brazilian E-Commerce Public Dataset by Olist and data from Google Trends were used, processed in Python with the Random Forest Regressor algorithm. A moderate inverse correlation (r = -0.43) with a seven-day lag was identified between organic search volume and purchase. Initial models, based solely on behavioral variables, presented insufficient metrics (R² = -0.47; MAE of R$ 2,120.54). The incorporation of microeconomic (average ticket and shipping) and macroeconomic (exchange rate and Ibovespa index) variables raised the R² of the final model to 0.29, with an MAE of R$ 1,489.63, representing a 24.7% reduction in error compared to the baseline. Temporal cross-validation showed that, in periods of mature operation (2018), the model achieved an R² of 0.42. It was concluded that isolated search volume explains the moment of consumer interest, but not the financial magnitude of sales, making the fusion with transactional and economic data mandatory for predictive viability.

Keywords: Beauty and Health; Consumer Behavior; Google Trends; Machine Learning; Time Series.

Data Science And Analytics For Operations

November 19, 2026

Turnover Prediction with Machine Learning in People Analytics

Voluntary employee turnover represents a recurring strategic challenge in organizations, with costs estimated between 50% and 200% of the annual salary of each replaced employee. The study aimed to develop, validate, and interpret a predictive turnover model based on machine learning algorithms, evaluating its technical feasibility using a public reference database. The IBM HR Employee Attrition dataset, synthetic in nature, was used, comprising 1,470 records and 35 demographic, professional, and behavioral variables. Three supervised classification algorithms (Logistic Regression, Random Forest, and XGBoost) were implemented and compared, with class imbalance handled by the SMOTE technique applied exclusively to the training set. The XGBoost model with hyperparameters optimized by RandomizedSearchCV and five-fold stratified cross-validation showed the best performance, with an AUC-ROC of 0.8651 on the test set and a Recall of 84.4% on the positive class with an optimized decision threshold. Interpretability analysis using the SHAP framework identified overtime, monthly compensation, and tenure as the main predictors of departure, results consistent with the people management literature. An illustrative financial impact simulation suggested potential economic return, conditioned on validation with real data and calibration of assumptions. The results confirmed the technical feasibility of the approach and its potential value as a decision support tool in People Analytics.

Keywords: Supervised classification; Algorithmic interpretability; Human resources; Talent retention; Voluntary turnover.

Data Science And Analytics For Operations

November 19, 2026

Event-Driven Distributed Cloud Architecture for Bank Credit Contracting

Digital transformation in the banking sector required the modernization of credit flows that were still dependent on legacy systems and manual activities. These generated high operational costs, inconsistency risks, and contracting times of up to 72 hours for the FINIMP product in a large Brazilian bank. Given this scenario, the study aimed to demonstrate that the adoption of a cloud-based microservices-oriented and event-driven architecture could significantly reduce total processing time and operational costs, through the integral automation of the flow and the elimination of manual steps. The research was characterized as applied, with a mixed approach, structured as action research and a single case study. It involved semi-structured interviews, direct observation of the process, documentary analysis, collection of SLA metrics, and the iterative development of a prototype in .NET Core and Angular, executed in a containerized local environment, with scaling designed for AWS. The solution was modeled with strategic Domain-Driven Design, definition of bounded contexts, and application of the Saga pattern for distributed transactional coordination. The results indicated the technical feasibility of the proposed architecture, with a reduction in the estimated timeframe to approximately two hours, improvement in p95 latency of critical steps, increased throughput under controlled load, and an estimated reduction in cost per 1,000 operations processed. There was also a strengthening of security and traceability controls. It was concluded that the proposed approach delivered measurable gains in efficiency, scalability, and operational governance.

Keywords: FINIMP; Idempotence; Microservices; Cost optimization; Distributed systems.

Data Science And Analytics For Operations

November 19, 2026

Assessment of the technical and behavioral viability of residential flexibility in a pilot project of Virtual Power Plant (VPP) in Brazil

The flexibility of electricity consumption in Brazilian households was evaluated. The study assessed the technical and behavioral viability of this flexibility in a pilot project of a Virtual Power Plant (VPP) in Brazil. 10 Demand Response (DR) events were conducted with 30 measured consumer units, between January and March 2026, using quantitative analysis of real smart metering data. The k-means algorithm was applied to segment behavioral profiles and a final evaluation survey was conducted to collect perceptions. The average acceptance rate was 70.6% and the average delivery rate reached 80.1%, with a verified load reduction of 99.3 kWh. Three behavioral engagement profiles were identified, with the full engagement group responsible for 61% of the generated flexibility. The hybrid remuneration model achieved the highest delivery rate (90.4%) and the lowest cost per kWh. The correlation between incentive and percentage reduction was significant in the hybrid phase. The final survey indicated a 96.7% intention to re-participate and a preference for the hybrid model. The results confirmed the technical and behavioral viability of residential flexibility in Brazil as a component of a VPP, demonstrating that consumers respond to DR events when adequately communicated and incentivized.

Keywords: Consumer engagement; Residential flexibility; Smart metering; Demand Response; Virtual Power Plant.