Forecasting or Contemporaneous Estimation? A Leakage-Aware Industrial Energy Audit with Uncertainty Quantification
DOI:
https://doi.org/10.64943/ljacs.2026.010204Keywords:
industrial energy forecasting;, data leakage, temporal, conformal prediction, uncertainty, random forest, XGBoost, smart manufacturingAbstract
Short-term industrial energy forecasting supports load planning only when every predictor is available at forecast issuance. This study audits 15- and 60-minute forecasting with 35,040 real observations from a South Korean steel facility. We reconstruct a continuous 15-minute timeline, define a deployable 39-feature protocol using measurements available no later than the forecast origin, and contrast it with two diagnostic protocols that admit target-time sensors. Ridge regression, Random Forest, and XGBoost are compared with persistence and daily and weekly seasonal-naive baselines under chronological and random 70/15/15 train/calibration/test partitions. The clean chronological Random Forest achieved mean absolute error (MAE) of 3.829 kWh at 15 minutes and 7.484 kWh at 60 minutes, reducing MAE relative to persistence by 23.35% and 35.31%. Paired moving-block bootstrap intervals excluded zero for every comparison with the operational baselines. By contrast, target-time measurements reduced XGBoost MAE by 82.72% and 90.12%, showing that sub-1-kWh results describe contemporaneous estimation rather than deployable forecasting. Target-time CO2 was a strong proxy: its correlation with energy use was 0.988, and 97.69% of values equaled rounded usage multiplied by 0.00045. Split-conformal intervals achieved near-nominal marginal coverage, yet 90% peak-load coverage fell to 51.99% and 44.70%. The audit shows that feature-availability semantics and conditional uncertainty assessment affect interpretation more than the choice between strong tree learners.
References
Kaufman, S., Rosset, S., Perlich, C., & Stitelman, O. (2012). Leakage in data mining: Formulation, detection, and avoidance. ACM Transactions on Knowledge Discovery from Data, 6(4), Article 15, 1-21. https://doi.org/10.1145/2382577.2382579
2. Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), Article 100804. https://doi.org/10.1016/j.patter.2023.100804
3. Hewamalage, H., Ackermann, K., & Bergmeir, C. (2023). Forecast evaluation for data scientists: Common pitfalls and best practices. Data Mining and Knowledge Discovery, 37, 788-832. https://doi.org/10.1007/s10618-022-00894-5
4. Sathishkumar, V. E., Shin, C., & Cho, Y. (2021b). Steel Industry Energy Consumption [Data set]. UCI Machine Learning Repository. https://doi.org/10.24432/C52G8C
5. Sathishkumar, V. E., Shin, C., & Cho, Y. (2021a). Efficient energy consumption prediction model for a data analytic-enabled industry building in a smart city. Building Research & Information, 49(1), 127-143. https://doi.org/10.1080/09613218.2020.1809983
6. Tashman, L. J. (2000). Out-of-sample tests of forecasting accuracy: An analysis and review. International Journal of Forecasting, 16(4), 437-450. https://doi.org/10.1016/S0169-2070(00)00065-0
7. Bergmeir, C., & Benitez, J. M. (2012). On the use of cross-validation for time series predictor evaluation. Information Sciences, 191, 192-213. https://doi.org/10.1016/j.ins.2011.12.028
8. Cerqueira, V., Torgo, L., & Mozetic, I. (2020). Evaluating time series forecasting models: An empirical study on performance estimation methods. Machine Learning, 109, 1997-2028. https://doi.org/10.1007/s10994-020-05910-7
9. Al-Sharif, H. M. A.-M. (2025). Analysis and evaluation of ARIMA and SARIMA models performance in time series forecasting: An applied study. Libyan Journal of Medical and Applied Sciences, 3(2), 146-157. https://doi.org/10.64943/ljmas.v3i2.89
10. Hoerl, A. E., & Kennard, R. W. (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1), 55-67. https://doi.org/10.1080/00401706.1970.10488634
11. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. https://doi.org/10.1023/A:1010933404324
12. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794). https://doi.org/10.1145/2939672.2939785
13. Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems (Vol. 30, pp. 4765-4774).
14. Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679-688. https://doi.org/10.1016/j.ijforecast.2006.03.001
15. Kunsch, H. R. (1989). The jackknife and the bootstrap for general stationary observations. The Annals of Statistics, 17(3), 1217-1241. https://doi.org/10.1214/aos/1176347265
16. Angelopoulos, A. N., & Bates, S. (2023). Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4), 494-591. https://doi.org/10.1561/2200000101
17. Lei, J., G'Sell, M., Rinaldo, A., Tibshirani, R. J., & Wasserman, L. (2018). Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523), 1094-1111. https://doi.org/10.1080/01621459.2017.1307116
18. Romano, Y., Patterson, E., & Candes, E. J. (2019). Conformalized quantile regression. In Advances in Neural Information Processing Systems (Vol. 32, pp. 3538-3548).
19. Tibshirani, R. J., Barber, R. F., Candes, E. J., & Ramdas, A. (2019). Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems (Vol. 32).
20. Xu, C., & Xie, Y. (2021). Conformal prediction interval for dynamic time-series. In Proceedings of the 38th International Conference on Machine Learning (Vol. 139, pp. 11559-11569). PMLR.
21. Zaffran, M., Feron, O., Goude, Y., Josse, J., & Dieuleveut, A. (2022). Adaptive conformal predictions for time series. In Proceedings of the 39th International Conference on Machine Learning (Vol. 162, pp. 25834-25866). PMLR.
22. Barber, R. F., Candes, E. J., Ramdas, A., & Tibshirani, R. J. (2023). Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2), 816-845. https://doi.org/10.1214/23-AOS2276
Downloads
Published
How to Cite
License
Copyright (c) 2026 Libyan Journal of Applied and Contemporary Sciences

This work is licensed under a Creative Commons Attribution 4.0 International License.