Food Sales Prediction Using MLP, RANSAC, and Bagging

Authors

  • Hussam Mezher Merdas College of Computer Science and Information Technology, University of Kerbala, Karbala, Iraq
  • Ayad Hameed Mousa College of Computer Science and Information Technology, University of Kerbala, Karbala, Iraq

DOI:

https://doi.org/10.51173/jt.v5i4.1458

Keywords:

Machine Learning Algorithms, Seaborn Library, Multilayer Perceptron, RANSAC, Bagging Regression

Abstract

Many datasets about food sales, these datasets contain different features depending on the data present. Also, the way these features are correlated differs from one dataset to another. The researchers used several artificial intelligence algorithms and applied them to food sales datasets. Despite the necessary pre-processing and cleaning of the datasets, some of the algorithms used in these studies did not give the desired results. Therefore, this study proposes a model based on two objectives, the first objective is to make a comparison between three different food sales datasets. the second objective is to apply three various Artificial Intelligence algorithms to obtain the best algorithm that gives the highest prediction accuracy with the specified dataset. Some studies used classical machine learning algorithms, some used deep learning algorithms, and others used ensemble techniques. To achieve a comprehensive comparison, one algorithm was chosen from each of the above. To measure the correlation between features used a tool available from the Seaborn library in Python. This tool is called a “Heatmap”. For comparison, used three datasets on which we performed the necessary preprocessing operations, after applying three algorithms, these algorithms are Multilayer perceptron, RANSAC, and Bagging regression. Then used several metrics to measure the accuracy of the algorithm applied to the specified dataset. Finally, identified the best dataset that gives excellent prediction results with these algorithms. The results showed that the first dataset gave ideal accuracy by using the Bagging regression algorithm, unlike the second dataset with medium correlation and the third dataset with weak correlation. This study lays the foundation for subsequent studies and saves them time in terms of choosing the datasets.

Downloads

Download data is not yet available.

Author Biographies

Hussam Mezher Merdas, College of Computer Science and Information Technology, University of Kerbala, Karbala, Iraq

Department of Computer Science,

Ayad Hameed Mousa, College of Computer Science and Information Technology, University of Kerbala, Karbala, Iraq

Department of Computer Science

References

R. Nicastro and P. Carillo, "Food loss and waste prevention strategies from farm to fork," Sustainability, vol. 13, no. 10, p. 5443, 2021, DOI: https://doi.org/10.3390/su13105443.

S. H. A. AlHakeem, N. J. Al-Anber, H. A. Atee, and M. M. Amrir, "Iraqi Stock Market Prediction Using Artificial Neural Network and Long Short-Term Memory," Journal of Techniques, vol. 5, no. 1, pp. 156-163, 2023. DOI: https://doi.org/10.51173/jt.v5i1.846.

R. N. Hussein, G. Nassreddine, and J. Younis, "The Impact of Information Technology Integration on the Decision-Making Process," Journal of Techniques, vol. 5, no. 1, pp. 144-155, 2023. DOI: https://doi.org/10.51173/jt.v5i1.1262.

F. Haselbeck, J. Killinger, K. Menrad, T. Hannus, and D. G. Grimm, "Machine Learning Outperforms Classical Forecasting on Horticultural Sales Predictions," Machine Learning with Applications, vol. 7, p. 100239, 2022, https://doi.org/10.1016/j.mlwa.2021.100239.

A. Schmidt, M. W. U. Kabir, and M. T. Hoque, "Machine Learning Based Restaurant Sales Forecasting," Machine Learning and Knowledge Extraction, vol. 4, no. 1, pp. 105-130, 2022. DOI: https://doi.org/10.3390/make4010006.

V. Prabhakar, D. Sayiner, U. Chakraborty, T. Nguyen, and M. Lanham, "Demand Forecasting for a large grocery chain in Ecuador," Data. Published, 2018.

K. Posch, C. Truden, P. Hungerländer, and J. Pilz, "A Bayesian approach for predicting food and beverage sales in staff canteens and restaurants," International Journal of Forecasting, vol. 38, no. 1, pp. 321-338, 2022. DOI: https://doi.org/10.1016/j.ijforecast.2021.06.001.

Y. Liu, "Grocery Sales Forecasting," in 2022 International Conference on Creative Industry and Knowledge Economy (CIKE 2022), 2022: Atlantis Press, pp. 215-219. DOI: 10.2991/aebmr.k.220404.040.

H. Taud and J. Mas, "Multilayer perceptron (MLP)," in Geomatic approaches for modeling land change scenarios: Springer, 2018, pp. 451-455. DOI: 10.1007/978-3-319-60801-3_1.

M. Mijwil, I. E. Salem, and M. M. Ismaeel, "The Significance of Machine Learning and Deep Learning Techniques in Cybersecurity: A Comprehensive Review," Iraqi Journal For Computer Science and Mathematics, vol. 4, no. 1, 2023, DOI: https://doi.org/10.52866/ijcsm.2023.01.01.008.

A. Rana, A. S. Rawat, A. Bijalwan, and H. Bahuguna, "Application of multi layer (perceptron) artificial neural network in the diagnosis system: a systematic review," in 2018 International conference on research in intelligent and computing in engineering (RICE), 2018: IEEE, pp. 1-6. DOI: 10.1109/RICE.2018.8509069

E. Rozos, P. Dimitriadis, K. Mazi, and A. D. Koussis, "A multilayer perceptron model for stochastic synthesis," Hydrology, vol. 8, no. 2, p. 67, 2021, https://doi.org/10.3390/hydrology8020067.

I. Lorencin, N. Anđelić, J. Španjol, and Z. Car, "Using multi-layer perceptron with Laplacian edge detector for bladder cancer diagnosis," Artificial Intelligence in Medicine, vol. 102, p. 101746, 2020. DOI: https://doi.org/10.1016/j.artmed.2019.101746.

R. Tavoli, "Providing a method to reduce the false alarm rate in network intrusion detection systems using the multilayer perceptron technique and backpropagation algorithm," in 2019 5th Conference on Knowledge Based Engineering and Innovation (KBEI), 2019: IEEE, pp. 001-006. DOI: 10.1109/KBEI.2019.8735024.

I. S. D. Sebayang and M. Fahmia, "Dependable flow modeling in upper basin Citarum using multilayer perceptron backpropagation," International Journal of Artificial Intelligence Research, vol. 4, no. 2, pp. 75-85, 2020. DOI: https://doi.org/10.29099/ijair.v4i2.174.

P. Suresh Kumar, H. S. Behera, J. Nayak, and B. Naik, "Bootstrap aggregation ensemble learning-based reliable approach for software defect prediction by using characterized code feature," Innovations in Systems and Software Engineering, vol. 17, no. 4, pp. 355-379, 2021.DOI: https://doi.org/10.1007/s11334-021-00399-2.

D. Kimby, "Bagged Prediction Accuracy In Linear Regression," ed, 2022.

S. Shrivastava, P. M. Jeyanthi, and S. Singh, "Failure prediction of Indian Banks using SMOTE, Lasso regression, bagging and boosting," Cogent Economics & Finance, vol. 8, no. 1, p. 1729569, 2020. DOI: https://doi.org/10.1080/23322039.2020.1729569.

T. G. Wakjira, M. S. Alam, and U. Ebead, "Plastic hinge length of rectangular RC columns using ensemble machine learning model," Engineering Structures, vol. 244, p. 112808, 2021. DOI: https://doi.org/10.1016/j.engstruct.2021.112808.

X. Liu, W. Tan, and S. Tang, "A Bagging-GBDT ensemble learning model for city air pollutant concentration prediction," in IOP Conference Series: Earth and Environmental Science, 2019, vol. 237, no. 2: IOP Publishing, p. 022027, DOI 10.1088/1755-1315/237/2/022027.

X. Yuan et al., "A high accuracy integrated bagging-fuzzy-GBDT prediction algorithm for heart disease diagnosis," in 2019 IEEE/CIC International Conference on Communications in China (ICCC), 2019: IEEE, pp. 467-471. DOI: 10.1109/ICCChina.2019.8855897.

O. Sagi and L. Rokach, "Ensemble learning: A survey," Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 8, no. 4, p. e1249, 2018. DOI: https://doi.org/10.1002/widm.1249.

H. El Badawi, F. Azaïs, S. Bernard, M. Comte, V. Kerzérho, and F. Lefevre, "Use of ensemble methods for indirect test of RF circuits: can it bring benefits?," in 2019 IEEE Latin American Test Symposium (LATS), 2019: IEEE, pp. 1-6. DOI: 10.1109/LATW.2019.8704641.

R. Ranftl and V. Koltun, "Deep fundamental matrix estimation," in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 284-299.

P. Antonante, V. Tzoumas, H. Yang, and L. Carlone, "Outlier-robust estimation: Hardness, minimally tuned algorithms, and applications," IEEE Transactions on Robotics, vol. 38, no. 1, pp. 281-301, 2021. DOI: 10.1109/TRO.2021.3094984.

H. K. Sangappa and K. Ramakrishnan, "A probabilistic analysis of a common RANSAC heuristic," Machine Vision and Applications, vol. 30, no. 1, pp. 71-89, 2019. DOI: https://doi.org/10.1007/s00138-018-0973-4.

M. Fotouhi, H. Hekmatian, M. A. Kashani-Nezhad, and S. Kasaei, "SC-RANSAC: spatial consistency on RANSAC," Multimedia Tools and Applications, vol. 78, no. 7, pp. 9429-9461, 2019. https://doi.org/10.1007/s11042-018-6475-6.

G. Wang, X. Sun, Y. Shang, Z. Wang, Z. Shi, and Q. Yu, "Two-view geometry estimation using ransac with locality preserving constraint," IEEE Access, vol. 8, pp. 7267-7279, 2020. DOI: 10.1109/ACCESS.2020.2964425.

B. Salehi, S. Jarahizadeh, and A. Sarafraz, "An improved RANSAC outlier rejection method for UAV-derived point cloud," Remote Sensing, vol. 14, no. 19, p. 4917, 2022. DOI: https://doi.org/10.3390/rs14194917.

E. Brachmann and C. Rother, "Neural-guided RANSAC: Learning where to sample model hypotheses," in Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019, pp. 4322-4331.

Multilayer perceptron

Downloads

Published

2023-12-31

How to Cite

Hussam Mezher Merdas, & Ayad Hameed Mousa. (2023). Food Sales Prediction Using MLP, RANSAC, and Bagging. Journal of Techniques, 5(4), 202–208. https://doi.org/10.51173/jt.v5i4.1458

Similar Articles

1 2 3 4 5 6 > >> 

You may also start an advanced similarity search for this article.