Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Syedfazeel-AI/CodeAlpha_CarPricePrediction.

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Price Prediction using Machine Learning

CodeAlpha Data Science Internship — Task 3

Project Overview

A machine learning model designed to predict the selling price of used cars based on various features such as brand, age, mileage, and fuel type.

Dataset

  • Source: Car price prediction Dataset (provided by CodeAlpha)
  • Features: Year, Present Price, Kms Driven, Fuel Type, Selling Type, Transmission, Owner.
  • Target: Selling Price

Steps Performed

  1. Data Loading: Handled CSV data using Pandas.
  2. Preprocessing: - Calculated Car_Age to represent the car's age.
    • Encoded categorical features (Fuel Type, Transmission, etc.) into numeric values.
  3. Model Selection: Used Random Forest Regressor for its high accuracy and robustness.
  4. Evaluation: Achieved a high R2 score, indicating a very reliable model.

Results

  • Model R2 Score: 0.9625
  • Accuracy: 96.26%

Actual vs Predicted Prices

Libraries Used

  • Pandas & NumPy
  • Scikit-learn
  • Matplotlib & Seaborn

Author

Syed Fazeel Ahmed — Data Science Intern at CodeAlpha

About

Car Price Prediction using Random Forest Regressor - Task 3 of CodeAlpha Internship.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.