Food and Beverage Sales Prediction Using Linear Regression and Random Forest Regression at Ayam Serayu Restaurant Bekasi

Authors

  • Nabila Ramadhani Sari Universitas Bhayangkara Jakarta Raya image/svg+xml
  • Herlawati Herlawati
  • Prima Dina Atika

Keywords:

Sales Prediction, Linear Regression, RandomForest Regression, Data Mining

Abstract

The large number of sales transactions at Ayam Serayu Restaurant Bekasi creates challenges in managing and analyzing sales data. Manual processes make it difficult to predict future sales, affecting inventory management and decision-making. Therefore, an accurate prediction method is needed. This study applies Linear Regression and Random Forest Regression to predict sales based on historical data. The research stages included data collection, preprocessing, modeling, and evaluation using Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE). The results show that Random Forest Regression provides better accuracy than Linear Regression. The resulting model is expected to improve operational efficiency and support decision-making at Ayam Serayu Restaurant Bekasi.

Downloads

Download data is not yet available.

References

Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32. doi: 10.1023/A:1010933404324.

Chai, T., & Draxler, R.R. (2014). Root mean square error (rmse) or mean absolute error (mae)? – arguments against avoiding rmse in the literature. Geoscientific Model Development, 7, 1247–1250. doi: 10.5194/gmd-7-1247-2014.

Chapman, P., Clinton, J., Khabaza, T., Reinartz, T., Shearer, C., & Wirth, R. (2000). CRISP-DM 1.0: Step-by-Step Data Mining Guide. SPSS.

James, G., Witten, D., Hastie, T., & Tibshirani, R. (2021). An Introduction to Statistical Learning: With Applications in R (2nd ed.). Springer. doi: 10.1007/978-1-0716-1418-1.

McKinney, W. (2010). Data structures for statistical computing in python. In Proceedings of the 9th Python in Science Conference (pp. 51–56). doi: 10.25080/Majora-92bf1922-00a.

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, E. (2011). Scikit-learn: Machine learning in python. Journal of Machine Learning Research, 12, 2825–2830.

Shearer, C. (2000). The crisp-dm model: The new blueprint for data mining. Journal of Data Warehousing, 5, 13–22.

Downloads

Published

2026-01-31