Welcome to the project of Car Price Prediction. This project is designed to build a powerful regression who ables to predict closest prices of cars on unseen data. The OLX Cars dataset,is used for this project that's avaiable on Kaggle, I personally scraped it using BeautifulSoup and Requests Libraries in Python.
See Project in Streamlit Webapp: https://akk-car-price-prediction.streamlit.app/
Today, buying and selling cars online has become quite common. When someone decides to sell their car, they often wonder about the right price to ask for. For instance, if two people are selling the same car and one is asking for 20 Lac while the other is asking for 25 Lac, the person selling at 20 Lac is likely to attract more potential buyers. Similarly, when people are in the market to buy a car, they want to know the fair price for the vehicle they are interested in. That's where this project comes in – it aims to create a smart model that considers various features of a car to estimate a reasonable price. This way, both sellers and buyers can get an idea of the approximate value of a car with specific characteristics.
OLX Cars dataset: Contains 9000+ records of used cars in Pakistan that owners want to sale.
I use following tools to develop this whole project:
- Jupyter Notebook
- Streamlit
- Pandas
- Numpy
- Scikit-Learn
- Plotly
- Pickle
Using RandomForestRegressor() algorithm, I build this model. Evaluation of model is based on Root Mean Squared Error, which is nearly 180000.
- Download Dataset: Download the dataset from Kaggle.
- Preprocessing: Cleaning the dataset, Constructing new columns and Removing Unnecessary Columns.
- Create Model in Jupyter Notebook: I first build model in Jupyter Notebook, then using Pickle I import model.
- Transform Model into Streamlit: Pickle model imported in Streamlit for predictions.
- Create Streamlit Webapp: After successfully building price prediction model, finally I create Streamlit Webapp for better user interactions.
- Handle and clean dataset.
- Constructing new columns based on requirements.
- Capability to understanding dataset.
- Able to create beautiful Streamlit Webapp.
- Model Selection
- Hypermeter Tunning
- Identifying and Resolving errors from project development to deployment.
- Project Deployment
- Project Organizing
- Continous Learning
- Clone the Repository: Download all files and folders from this repository.
- Create Virtual Environment:
py -3 -m venv virtualEnv
- Run this command:
pip freeze > requirements.txt
- Finally start the streamlit app: Run the following command on command terminal.
streamlit run streamlit_app.py