Application of Machine Learning Techniques to Predict the Price of Pre-Owned Cars in Bangladesh

Pre-owned cars (i.e., cars with one or more previous retail owners) are extremely popular in Bangladesh. Customers who plan to purchase a pre-owned car often struggle to find a car within a budget as well as to predict the price of a particular pre-owned car. Currently, Bangladesh lacks online servi...

Full description

Bibliographic Details
Main Authors: Fahad Rahman Amik, Akash Lanard, Ahnaf Ismat, Sifat Momen
Format: Article
Language:English
Published: MDPI AG 2021-12-01
Series:Information
Subjects:
Online Access:https://www.mdpi.com/2078-2489/12/12/514
Description
Summary:Pre-owned cars (i.e., cars with one or more previous retail owners) are extremely popular in Bangladesh. Customers who plan to purchase a pre-owned car often struggle to find a car within a budget as well as to predict the price of a particular pre-owned car. Currently, Bangladesh lacks online services that can provide assistance to customers purchasing pre-owned cars. A good prediction of prices of pre-owned cars can help customers greatly in making an informed decision about buying a pre-owned car. In this article, we look into this problem and develop a forecasting system (using machine learning techniques) that helps a potential buyer to estimate the price of a pre-owned car he is interested in. A dataset is collected and pre-processed. Exploratory data analysis has been performed. Following that, various machine learning regression algorithms, including linear regression, LASSO (Least Absolute Shrinkage and Selection Operator) regression, decision tree, random forest, and extreme gradient boosting have been applied. After evaluating the performance of each method, the best-performing model (XGBoost) was chosen. This model is capable of properly predicting prices more than <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mn>91</mn><mo>%</mo></mrow></semantics></math></inline-formula> of the time. Finally, the model has been deployed as a web application in a local machine so that this can be later made available to end users.
ISSN:2078-2489