Design and Implementation of Ecodrive: A Machine Learning Based Vehicle Co2 Emission Prediction System
Abstract
Carbon dioxide (CO2) emitted by road vehicles depends strongly on engine characteristics and fuel consumption, yet drivers rarely have a simple way to estimate the emission level of a particular vehicle. This paper presents the designand implementation of EcoDrive, a web-based CO2 emission prediction system developed in Python with Streamlit and scikit-learn. A Random Forest regression model with 200 trees is trained on a vehicle emissions datasetof 7,385 records using three input features: engine size, number of cylinders and combined fuel consumption. When the project's training pipeline was re-run for this paper, the model obtained R2 = 0.9698, MSE = 104.00 (g/km)2, RMSE = 10.20 g/km and MAE = 4.09 g/km on a held-out test set containing 20% of the records. The application provides separate user and administrator functions. Users can register, log in, predict emissions, compare two vehicles, review their own prediction history, read reduction suggestions, estimate yearly impact and download a PDF report, and every result is classified into an emission level and an A to E eco score. The administrator dashboard is protected by a role check and presents the number of registered users, the number of stored predictions, the average predicted emission, a registered-users table with per-user prediction counts, and a table of all stored predictions with colour-coded emission levels. The paper describes the implemented functions, the measured model performance and a functional test plan. No claims are made about real-world measured emissions, response time or user satisfaction because such measurements were not performed.
// Source
Authors: A Swarnalatha, K P Preethi, G S Chethan Kumar, Naik R Prasanna Kumar, Shahid Syed
Institutions: Visvesvaraya Technological University, University B.D.T College of Engineering