Submitted:
01 May 2025
Posted:
08 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Related Work
2.2. Datasets
- ATM identification code.
- Location of the ATM.
- Company responsible for the supply of the ATM.
- Type of event.
- Date of event.
2.2.1. Statistical Analysis
2.2.2. Preprocessing
- Records that do not have enough width. These include records for an ATM that fail to cover at least 70% of the year in time interval between the first and last supply event.
- Records that do not have enough volume. These include records for an ATM that has less than 50 distinct records in the dataset.
- Day of the week: Monday up to Sunday.
- Workday: true or false.
- Holiday: true or false.
- Capacity difference from previous day: real number from -1.0 to 1.0.
- Days to next supply: natural number.
- Be balanced, without having unexplained and steep fluctuations.
- Be correlated to the target variable, meaning that changes in their value affect the value of the target variable either directly or indirectly.
- Do not contain missing or erroneous data.
- Be in or can be converted to numerical form.
- Be independent between them, meaning that they are not directly correlated, since correlated values can be omitted to simplify the model, they do not offer new information to the model.
2.3. Problem Formulation
- Cash shortages are minimized allowing ATMs to serve client requests.
- Operational costs are minimized ensuring minimized costs for the National Bank of Greece during supply actions.
- Total idle capital across the ATM network is minimized, avoiding excessive cash storage and bank liquidity problems.
2.3.1. Available Cash Forecasting
- is the day of the week at time t
- is the day of the month at time t
- is the month at time t
- is 1 if the day at time t is a workday or 0 if not
- is 1 if the day at time t is a holiday or 0 if not
- is the value of filled capacity for the ATM at time
- is the prediction error for ATM and time t
- is the prediction model function as trained using a selected algorithm
2.3.2. Supply Plan Optimization
- Minimization of operation costs:
- Minimization of cash shortages:
- Minimization of idle capital:
- Each ATM is visited exactly once:
- Each vehicle starts at the supply station:
- Forcing single continuous routes for each vehicle, with being the position of ATM in the route:
2.4. Experimental Setup
- Data Manager: the component responsible for data extraction, storage, analysis and preprocessing.
- Machine Learning: the component responsible for configuration, training and evaluation of the classical machine learning models.
- Deep Learning: the component responsible for configuration, training and evaluation of the deep learning models.
- Orthogonal Matching Pursuit (OMP)
- Bayesian Ridge
- Stochastic Gradient Descent (SGD) Regressor
- Lasso Least Angle Regression (Lasso-LARS)
- Linear Regression
- Decision Tree Regressor
3. Results
3.1. Classical Machine Learning Models
3.2. Deep Learning Models
3.3. Use Case Evaluation
4. Discussion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Ekinci, Y.; Serban, N.; Duman, E. Optimal ATM replenishment policies under demand uncertainty. Operational Research 2021, 21, 999–1029. [CrossRef]
- Rafi, M.; Wahab, M.T.; Khan, M.B.; Raza, H. ATM cash prediction using time series approach. In Proceedings of the 2020 3rd International Conference on Computing, Mathematics and Engineering Technologies (iCoMET). IEEE, 2020, pp. 1–6.
- Rafi, M.; Wahab, M.T.; Khan, M.B.; Raza, H. Towards optimal ATM cash replenishment using time series analysis. Journal of Intelligent & Fuzzy Systems 2021, 41, 5915–5927. Publisher: IOS Press, . [CrossRef]
- Sarveswararao, V.; Ravi, V.; Vivek, Y. ATM cash demand forecasting in an Indian bank with chaos and hybrid deep learning networks. Expert Systems with Applications 2023, 211, 118645. Publisher: Elsevier.
- Tang, J.; Wang, S.; Bai, T.; Lu, S.; Xiong, J. Intelligent ATM replenishment optimization based on hybrid genetic algorithm. In Proceedings of the 2022 24th International Conference on Advanced Communication Technology (ICACT), 2022, pp. 469–475. ISSN: 1738-9445, . [CrossRef]
- Rajwani, A.; Syed, T.; Khan, B.; Behlim, S. Regression analysis for ATM cash flow prediction. In Proceedings of the 2017 International Conference on Frontiers of Information Technology (FIT). IEEE, 2017, pp. 212–217.
- Joseph, H.R. Combining Traditional Optimization and Modern Machine Learning: A Case in ATM Replenishment Optimization. In Proceedings of the Progress in Industrial Mathematics at ECMI 2014; Russo, G.; Capasso, V.; Nicosia, G.; Romano, V., Eds., Cham, 2016; Mathematics in Industry, pp. 1047–1055.
- James, G.; Witten, D.; Hastie, T.; Tibshirani, R.; Taylor, J. Linear regression. In An introduction to statistical learning: With applications in python; Springer, 2023; pp. 69–134.
- Mallat, S.G.; Zhang, Z. Matching pursuits with time-frequency dictionaries. IEEE Transactions on signal processing 1993, 41, 3397–3415. Publisher: IEEE.
- Bishop, C.M.; Nasrabadi, N.M. Pattern recognition and machine learning; Vol. 4, Springer, 2006.
- Lizhen, W.; Yifan, Z.; Gang, W.; Xiaohong, H. A novel short-term load forecasting method based on mini-batch stochastic gradient descent regression model. Electric Power Systems Research 2022, 211, 108226. Publisher: Elsevier.
- Song, S.; Li, S.; Zhang, T.; Ma, L.; Zhang, L.; Pan, S. Research on time series characteristics of the gas drainage evaluation index based on lasso regression. Scientific Reports 2021, 11, 20593. Publisher: Nature Publishing Group UK London.
- Rady, E.; Fawzy, H.; Fattah, A.M.A. Time series forecasting using tree based methods. J. Stat. Appl. Probab 2021, 10, 229–244.
- Hopfield, J.J. Neural networks and physical systems with emergent collective computational abilities. Proceedings of the National Academy of Sciences 1982, 79, 2554–2558. Publisher: Proceedings of the National Academy of Sciences, . [CrossRef]
- Haykin, S. Neural networks: A comprehensive foundation; Prentice Hall PTR, 1998.
- Zhang, J.; Man, K.F. Time series prediction using RNN in multi-dimension embedding phase space. In Proceedings of the SMC’98 Conference Proceedings. 1998 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No. 98CH36218). IEEE, 1998, Vol. 2, pp. 1868–1873.
- Gers, F.A.; Schmidhuber, J.; Cummins, F. Learning to forget: Continual prediction with LSTM. Neural computation 2000, 12, 2451–2471. Publisher: MIT press.
- Rhif, M.; Ben Abbes, A.; Martinez, B.; Farah, I.R. A deep learning approach for forecasting non-stationary big remote sensing time series. Arabian Journal of Geosciences 2020, 13, 1174. Publisher: Springer.
- Dixit, A.; Jain, S. Effect of stationarity on traditional machine learning models: Time series analysis. In Proceedings of the Proceedings of the 2021 Thirteenth International Conference on Contemporary Computing, 2021, pp. 303–308.
- Schnaubelt, M. A comparison of machine learning model validation schemes for non-stationary time series data. Technical report, FAU Discussion Papers in Economics, 2019.















| Label | Name | Description |
|---|---|---|
| Day of the week (t-1) | The day of the week one day before the target time step. | |
| Day of the month (t-1) | The day of the month one day before the target time step. | |
| Month (t-1) | The month one day before the target time step. | |
| Workday (t-1) | True if the day before the target time step is a workday. | |
| Holiday (t-1) | True if the day before the target time step is a holiday. | |
| ATM capacity (t-1) | Percentage of filled ATM capacity the day before the target time step. | |
| ATM capacity change (t-1) | Change of percentage of filled ATM capacity the day before the target time step. | |
| Days until next supply (t-1) | Days remaining until next supply event the day before the target time step. | |
| ATM capacity (t) | Percentage of filled ATM capacity at the target time step. |
| Algorithm | avg_mae | min_mae | max_mae | std |
|---|---|---|---|---|
| Orthogonal Matching Pursuit | 27,97 | 31,30 | 35,82 | 2,25 |
| Bayesian Ridge | 29,48 | 33,59 | 44,33 | 3,89 |
| SGD Regressor | 27,91 | 45,85 | 283,97 | 49,93 |
| Lasso Lars | 28,12 | 31,07 | 36,76 | 2,21 |
| Linear Regression | 30,39 | 34,47 | 44,92 | 3,88 |
| Decision Tree Regressor | 5,03 | 10,68 | 21,69 | 3,49 |
| Window size in days | avg_mae | min_mae | max_mae | std |
|---|---|---|---|---|
| 1 | 35,11 | 29,06 | 48,00 | 5,24 |
| 2 | 31,50 | 27,77 | 41,45 | 3,34 |
| 3 | 30,54 | 26,36 | 44,79 | 3,86 |
| 4 | 29,74 | 24,05 | 38,18 | 3,28 |
| 5 | 30,06 | 23,46 | 38,94 | 3,38 |
| 6 | 29,24 | 23,93 | 35,07 | 2,97 |
| Optimizer | A(t) | B(t) | C(t) | Combined |
|---|---|---|---|---|
| ILP | 0.5 | 0 | 9.44 | 9.94 |
| Genetic | 5 | 0 | 9.44 | 14.44 |
| Greedy | 16 | 0 | 9.44 | 25.44 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).