Predicting Vehicle Prices Using Machine Learning: A Case Study with Linear Regression
Abstract
With the development of electronic vehicles, accurately predicting the price of vehicles is essential for both consumers and business. Thus, this study aims to explore the application of machine learning in vehicle price prediction, specifically focusing on the use of linear regression, a widely adopted technique in this domain. Utilizing a comprehensive dataset containing variables such as make, model, year, and mileage, the research develops a predictive model through rigorous data cleaning, feature engineering, and model tuning processes. The model’s performance will be analyzed by R-squared value and Mean Squared Error(MSE). The model’s predicting result will be visualized by scatter plot. The study also addresses potential biases and applies regularization techniques to enhance the model’s accuracy. Additionally, a comparative analysis with a Decision Tree model evaluates the relative performance and nuances of each approach. This research not only underscores the practical value of predictive modeling in the automotive industry but also offers insights into integrating more advanced machine learning techniques to further improve prediction accuracy. Additionally, in this research, the drawbacks of linear regression model will be indicated and the future works to improve the performance of the model will be provided.
References
- R. Swarnkar, R. Sawant, H. R and S. P. (2023) Multiple Linear Regression Algorithm-based Car Price Prediction, 2023 Third International Conference on Artificial Intelligence and Smart Energy (ICAIS), Coimbatore, India, pp. 675-681
- Kumar, S., & Sinha, A. (2024). Predicting Used Car Prices with Regression Techniques. International Journal of Computer Trends and Technology, 72(6), 132–141.
- AUSTIN REESE. (2021). Used Cars Dataset. https://www.kaggle.com/datasets/austinreese/craigslist-carstrucks-data/data
- VITALII MOKIN. (2019). Used Cars Price Prediction by 15 models. https://www.kaggle.com/code/vbmokin/used-cars-price-prediction-by-15-models#6.-Models-comparison-.
- Vasques, X. (2024). Machine learning theory and applications: hands-on use cases with Python on classical and quantum machines.
- Moore, D. S., Notz, W. I, & Flinger, M. A. (2013). The basic practice of statistics (6th ed.). W. H. Freeman and Company, New York. pp.138.
- Syam, Niladri, Rajeeve Kaul. (2021). Overfitting and Regularization in Machine Learning Models. Machine Learning and Artificial Intelligence in Marketing and Sales: Essential Reference for Practitioners and Data Scientists. 1st ed. Emerald Publishing Limited. Bingley. pp.14.
- Robert Andersen. (2008) Robust Regression for the Linear Model. Modern Methods for Robust Regression. SAGE Publications, Inc. pp.48-70.