Fuel Consumption Prediction of Vehicles Using Machine Learning Algorithm

Authors

  • Oladejo Olubusayo Department of Physics, Osun State University, Osogbo, Nigeria
  • Ozoh Patrick Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Ibrahim Musibau Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Adigun Adepeju Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Oyinloye Olufunke Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Dimple Ariyo Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Ojo Oluwafolake Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria
  • Abanikannda Mutahir Faculty of Computer Science and Information Technology, Osun State University, Osogbo, Nigeria

DOI:

https://doi.org/10.33736/jcsi.8262.2025

Keywords:

Estimation, Machine Learning, Model Performance, Decision Making, Optimization

Abstract

The major objective of this study revolves around accurately estimating the distance a car can travel in kilometres per Litter of fuel consumed. This study develops a precise machine-learning algorithm for predicting vehicle petroleum consumption. This encompasses adapting distinct machine-learning techniques, evaluating their performance, selecting the most optimal model, and validating its real-world applicability. The dataset used for this study includes attributes such as Miles per gallon (Mpg), acceleration, horsepower, displacement, cylinder count, and car model. The implementation strategy entails comprehensive data pre-processing and employing well-established machine learning techniques: Random Forest, Decision Tree, and Linear Regression. The Python programming environment is applied for coding and data manipulation. Model performance assessment uses the Mean Squared Error (MSE) metric. The findings show the performance of the Random Forest algorithm as having the lowest MSE value of 0.008806 among the assessed models. In conclusion, the proficiency of the Random Forest algorithm. in predicting fuel consumption will open avenues for informed decision-making and resource optimization within the automotive sector.

References

Ashqar, H. I., Obaid, M., Jaber, A., Ashqar, R., Khanfar, N. O., & Elhenawy, M. (2024). Incorporating driving behavior into vehicle fuel consumption prediction: methodology development and testing. Discover Sustainability, 5(1), 344.

Asnicar, F., Thomas, A. M., Passerini, A., Waldron, L., & Segata, N. (2024). Machine learning for microbiologists. Nature Reviews Microbiology, 22(4), 191-205.

Aziz, R. M., Sharma, P., & Hussain, A. (2024). Machine learning algorithms for crime prediction under Indian penal code. Annals of data Science, 11(1), 379-410.

Blockeel, H., Devos, L., Frénay, B., Nanfack, G., & Nijssen, S. (2023). Decision trees: from efficient prediction to responsible AI. Frontiers in Artificial Intelligence, 6, 1124553.

Chen, J., Li, K., Zhang, Z., Li, K., & Yu, P. S. (2021). A survey on applications of artificial intelligence in fighting against COVID-19. ACM Computing Surveys (CSUR), 54(8), 1-32.

Costa, V. G., & Pedreira, C. E. (2023). Recent advances in decision trees: An updated survey. Artificial Intelligence Review, 56(5), 4765-4800.

Eyring, V., Collins, W. D., Gentine, P., Barnes, E. A., Barreiro, M., Beucler, T., & Zanna, L. (2024). Pushing the frontiers in climate modelling and analysis with machine learning. Nature Climate Change, 14(9), 916-928.

Gupta, A. K., Pal, G. K., Rajput, K., & Bhatnagar, S. (2024, March). Analysis of Machine Learning Techniques for Fault Detection in 3D Printing. In 2024 2nd International Conference on Disruptive Technologies (ICDT) (pp. 1032-1037). IEEE.

Katyare, P., Joshi, S., & Kulkarni, M. (2024). Utilizing Machine Learning Approach to Forecast Fuel Consumption of Backhoe Loader Equipment. International Journal of Advanced Computer Science & Applications, 15(5).

Liu, T., Lin, L., Bi, X., Tian, L., Yang, K., Liu, J., & Pan, F. (2019). In situ quantification of interphasial chemistry in Li-ion battery. Nature nanotechnology, 14(1), 50-56.

Manivannan, R. (2024). Research on IoT-based hybrid electrical vehicles energy management systems using machine learning-based algorithm. Sustainable Computing: Informatics and Systems, 41, 100943.

McCarthy, J., Minsky, M. L., Rochester, N., & Shannon, C. E. (2006). A proposal for the dartmouth summer research project on artificial intelligence, august 31, 1955. AI magazine, 27(4), 12-12.

Noviyanti, C. N., & Alamsyah, A. (2024). Early Detection of Diabetes Using Random Forest Algorithm. Journal of Information System Exploration and Research, 2(1).

Samuel, J., Kashyap, R., Samuel, Y., & Pelaez, A. (2022). Adaptive cognitive fit: Artificial intelligence augmented management of information facets and representations. International journal of information management, 65, 102505.

Su, M., Su, Z., Cao, S., Park, K. S., & Bae, S. H. (2023). Fuel Consumption Prediction and Optimization Model for Pure Car/Truck Transport Ships. Journal of Marine Science and Engineering, 11(6), 1231.

Tang, X., Zhou, H., Wang, F., Wang, W., & Lin, X. (2022). Longevity-conscious energy management strategy of fuel cell hybrid electric Vehicle Based on deep reinforcement learning. Energy, 238, 121593.

Wen, Z., Wang, Q., Ma, Y., Jacinthe, P. A., Liu, G., Li, S., & Song, K. (2024). Remote estimates of suspended particulate matter in global lakes using machine learning models. International Soil and Water Conservation Research, 12(1), 200-216.

Wu, Y. C., & Chang, Y. L. (2024). Ransomware detection on Linux using machine learning with random forest algorithm. Authorea Preprints.

Xu, Y., Liu, X., Cao, X., Huang, C., Liu, E., Qian, S., & Zhang, J. (2021). Artificial intelligence: A powerful paradigm for scientific research. The Innovation, 2(4).

Yang, H., Sun, Z., Han, P., & Ma, M. (2024). Data-driven prediction of ship fuel oil consumption based on machine learning models considering meteorological factors. Proceedings of the Institution of Mechanical Engineers, Part M: Journal of Engineering for the Maritime Environment, 238(3), 483-502.

Downloads

Published

2025-05-19

How to Cite

Olubusayo, O., Patrick, O., Musibau, I., Adepeju, A., Olufunke, O., Ariyo, D., Oluwafolake, O., & Mutahir, A. (2025). Fuel Consumption Prediction of Vehicles Using Machine Learning Algorithm. Journal of Computing and Social Informatics, 4(2), 28–36. https://doi.org/10.33736/jcsi.8262.2025