The code processes a dataset of car information, performing data cleaning and preprocessing. Categorical features like car name, company, and fuel type are one-hot encoded, and the data is visualized using seaborn and matplotlib. A Linear Regression model from scikit-learn is trained to predict car prices based on features like the car's name, company, year, kilometers driven, and fuel type. The model's performance is evaluated, and the trained model is serialized to a file for future use. The script also demonstrates how to use the model to make price predictions for new car data. In summary, it's a comprehensive data preprocessing and machine learning pipeline for predicting car prices based on various attributes.
-
Notifications
You must be signed in to change notification settings - Fork 0
Rkarande1/Car-prices-prediction-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published