Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Safety Prediction System using Decision Tree

This project predicts the safety category of a car based on multiple vehicle attributes using a Decision Tree classifier.

🚗 Features Used

  • Buying price
  • Maintenance cost
  • Number of doors
  • Passenger capacity
  • Luggage boot size
  • Safety rating

🌳 Machine Learning Model

  • Decision Tree Classifier
  • Criterion: Gini Index & Entropy

📊 Evaluation

  • Accuracy Score
  • Confusion Matrix
  • Feature Importance

📂 Project Structure

data/ – dataset
notebooks/ – experiments
src/ – ML pipeline
results/ – model outputs

📁 Dataset Source

UCI Machine Learning Repository – Car Evaluation Dataset

🚀 How to Run

  1. Install dependencies: pip install -r requirements.txt
  2. Run the notebook or train.py script

✨ Author

Packiaraj R

About

Implemented a Decision Tree based car safety prediction system using vehicle attributes, trained with Gini and Entropy criteria, and evaluated using accuracy and confusion matrix.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages