Car Price Prediction
End to End deployment of ML model to predict car prices for a dataset from Kaggle.
Steps in Jupyter notebook:
- Downloaded kaggle dataset.
- Conducted exploratory data analysis on the dataset.
- Looked for duplicates, missing data, outliers etc.
- Created a new feature for number of years based on year of the car using current year as the reference.
- Used one-hot encoding for categorical features like fuel type and automatic/manual gear etc.
- Removed extra variables that are not needed like year of the car since we have a new feature for it.
- Split the dataset into train and test.
- Used different hyperparameters for cross-validation using RandomForestRegressor model to find the best parameters.
- Created a final model.
- Predictions were tested using the final model.
- Exported the model as a pickle file for deployment.
You can access the app that I created from here: Gopakumar’s Car Price Prediction App
Checkout the full github link for the files.