Articles

Comparative Analysis of Machine Learning Algorithms for Used Car Price Prediction

After 2021, over 90 million passenger automobiles were produced, marking a significant increase in auto production. This growth has led to a flourishing used car market, which has become a highly lucrative sector. One of the most critical and fascinating areas of research within this market is automobile price prediction. Accurate price prediction models can greatly benefit buyers, sellers, and businesses in the used car industry. This paper presents a detailed comparative analysis of two supervised machine learning models: K-Nearest Neighbour and Support Vector Machine regression techniques, to predict used car prices. We utilized a comprehensive dataset of used cars sourced from the Kaggle website for training and testing our models. The K Nearest Neighbour algorithm is known for its simplicity and effectiveness in regression tasks. On the other hand, the Support Vector Machine regression technique uses a different approach, finding the optimal hyperplane that best fits the data. Both methods have their strengths and weaknesses, which we explored in this study. Our results indicated that both KNN and SVM models performed well in predicting used car prices, but with slight variations in accuracy.  Consequently, the suggested models fit as the optimum models and have an accuracy of about 83 percent for KNN and 80 percent for SVM. The results indicate that the KNN model slightly outperforms the SVM model in predicting used car prices.