Predict the prices of Passat B6 TDI basing on real offer
Want to buy or sell a car? What is adequate price?
Machine learning to the rescue!
This Python's script uses linear regression model to predict adequate price for a given car. As a data source (train&test) it uses real offers from Poland's biggest online vehicle marketplace.
- Prediction method: Linear Regression
- Framework: scikit-learn
To predict the best price you will need to specify 3 features:
- year
- mileage [km]
- engine capacity [ccm]
Written only for educational purposes.
- Price prediction of Passat B6 TDI - Jupyter notebook
- Clone whole repository or download only this Python script
- Make sure that your environment contains all required libraries (numpy/scipy etc...)
- Prepare an URL that points to the offers of wanted vehicle's model ant put it in 'Settings' section
- Specify also parameters of cars_to_predict_price
- Run the script
- Have fun!
- Desmos calculator for trained model