Car-Resale-Price-Predictor-RandomForest helps you check the resale price of a used car based on a few details, such as:
- Engine size
- Mileage
- Max power
- Fuel type
- Vehicle age
- Transmission type
It uses a Random Forest Regression model trained on more than 15,000 CarDekho listings. The model is built to give a clear price estimate from simple car details.
Before you run the app on Windows, make sure you have:
- A Windows 10 or Windows 11 PC
- Internet access for the first download
- Enough free space to save the app files
- A modern web browser if the app opens in one
If the app comes as a folder or file in the repository, you will need to download it from the link above and keep the files together in one place.
Use this link to visit the download page and get the files:
After the page opens:
- Look for the green Code button or any release file.
- Download the repository as a ZIP file, or download the app file if one is listed.
- Save it to your Desktop or Downloads folder.
- If it is a ZIP file, right-click it and choose Extract All.
After you download and extract the files, follow these steps:
- Open the folder you just extracted.
- Look for the main app file.
- If you see a file with
.exe, double-click it. - If you see a Python file like
app.pyormain.py, open it from the project folder with the required Python setup. - Wait for the app window or browser page to open.
- Enter the car details when asked.
- Click the button to get the resale price estimate.
If Windows shows a security prompt, choose the option that lets the app run.
Use the form one field at a time:
- Enter the car brand and model if the app asks for them.
- Type the year or age of the car.
- Add the fuel type.
- Add the transmission type.
- Enter mileage.
- Enter engine size.
- Enter max power.
- Submit the form to see the estimate.
For best results, use the details from the car’s registration card, service records, or listing page.
You may see fields like these:
- Fuel Type: Petrol
- Transmission: Manual
- Mileage: 20 kmpl
- Engine: 1197 cc
- Max Power: 82 bhp
- Year: 2018
- Kilometers Driven: 45,000
The app then gives a price estimate based on the trained model.
The app uses Random Forest Regression. This model looks at many decision paths at the same time and combines the results into one estimate.
It was trained on cleaned CarDekho data with:
- Data cleaning
- Feature selection
- Exploratory data analysis
- Hyperparameter tuning
- Regression testing with scikit-learn
This helps the model learn how car features connect to resale value.
The repository may include files such as:
app.pyormain.pyfor the main appmodel.pklorjoblibfile for the saved modelrequirements.txtfor Python package setupREADME.mdfor project details- notebooks for data cleaning and model work
Keep the files in the same folder if the app depends on them.
If the app needs Python, install it first:
- Download Python from the official Python website.
- During install, check Add Python to PATH.
- Open Command Prompt.
- Go to the project folder with the
cdcommand. - Install the needed packages with the package list file, if included.
- Start the app file.
A typical setup can include:
- Python
- pandas
- numpy
- scikit-learn
- joblib
- seaborn
- matplotlib
The model uses features that often change used car value:
- Brand and model
- Year
- Fuel type
- Transmission
- Engine size
- Mileage
- Max power
- Number of owners
- Kilometers driven
Cars with lower mileage, newer model years, and stronger engine power often get higher estimates, while older cars with high mileage often get lower ones.
This project uses CarDekho listing data. The dataset contains more than 15,000 entries and reflects real used car market patterns.
That gives the model a wide base for price estimation across many car types and conditions.
People may use this app to:
- Check a used car price before buying
- Compare a seller’s asking price with an estimate
- Review a listing before negotiation
- Get a quick market range for a vehicle
Try these steps:
- Check that all files are still in the same folder.
- Make sure the ZIP file was fully extracted.
- Run the app again from the extracted folder.
- If the app uses Python, confirm Python is installed.
- Make sure any model file is present in the project folder.
- Close and reopen the app if it freezes on launch.
If the app opens in a browser, refresh the page and try again.
If you need the files again, use this link:
anmol-patel, car-resale-price-prediction, cardekho, data-cleaning, data-science, exploratory-data-analysis, hyperparameter-tuning, joblib, machine-learning, python, random-forest, random-forest-regression, regression, scikit-learn, seaborn