Price Prediction Using Web Scraping and Machine Learning Algorithms in the Used Car Market
Open Access
- 31 August 2023
- journal article
- research article
- Published by Sakarya University Journal of Computer and Information Sciences in Sakarya University Journal of Computer and Information Sciences
- Vol. 6 (2) , 140-148
Abstract
The development of technology increases data traffic and data size day by day. Therefore, it has become very important to collect and interpret data. This study, it is aimed to analyze the car sales data collected using web scraping techniques by using machine learning algorithms and to create a price estimation model. The data needed for analysis was collected using Selenium and BeautifulSoup and prepared for analysis by applying various data preprocessing steps. Lasso regression and PCA analysis were used for feature selection and size reduction, and the GridSearchCV method was used for hyperparameter tuning. The results were evaluated with machine learning algorithms. Random Forest, K-Nearest Neighbor, Gradient Boost, AdaBoost, Support Vector and XGBoost regression algorithms were used in the analysis. The obtained analysis results were evaluated together with Mean Square Error (MSE), Root Mean Square Error (RMSE) and Coefficient of Determination (R-square). When the results for data set 1 were examined, the model that gave the best results was XGBoost Regression with 0.973 R2, 0.026 MSE and 0.161 RMSE values. When the results for data set 2 were examined, the model that gave the best results was K-Nearest Neighbor Regression with 0.978 R2, 0.021 MSE and 0.145 RMSE values.Keywords
This publication has 13 references indexed in Scilit:
- Used Cars Price Prediction using Machine Learning with Optimal FeaturesPakistan Journal of Engineering and Technology, 2021
- Car’s Selling Price Prediction using Random Forest Machine Learning AlgorithmSSRN Electronic Journal, 2020
- XGBoost2016
- Efficient Learning Machines2015
- Explaining AdaBoost2013
- Random ForestsMachine Learning, 2001
- Greedy function approximation: A gradient boosting machine.The Annals of Statistics, 2001
- Bagging predictorsMachine Learning, 1996
- The Nature of Statistical Learning Theory1995
- An Introduction to Kernel and Nearest-Neighbor Nonparametric RegressionThe American Statistician, 1992