University project · CSS3563 · Artificial Intelligence
Car Evaluation Decision Tree
A Tkinter desktop app that predicts a car’s acceptability and lets you explore the decision tree behind the result.
Follow the decision path
Choose a car’s attributes and follow the nodes the model visits.
Path taken
Model trained on the Car Evaluation dataset by Marko Bohanec (UCI).
Overview
My group built Car Evaluation Decision Tree for our Artificial Intelligence course. The Python desktop app combines dataset exploration, model training, prediction, and an interactive explanation of how a decision tree reaches its result.
Key features
- Explore the data. Browse and filter the Car Evaluation dataset, then inspect its encoded categorical values.
- Train and evaluate. Train a decision tree and inspect performance metrics, a confusion matrix, and feature importance.
- Make a prediction. Choose buying price, maintenance cost, doors, passenger capacity, luggage capacity, and safety to predict one of four acceptability classes.
- Follow the decision. In Model Visualisation, Show Path highlights the nodes visited for the selected inputs. Hovering a node reveals its split, Gini impurity, sample count, and class distribution.
How it was built
Tkinter provides the desktop interface. pandas handles the dataset, while scikit-learn encodes categories and trains the classifier using an 80/20 train/test split. Matplotlib renders the tree and feature-importance view, and Seaborn displays the confusion matrix.
Results & findings
The desktop application brings data exploration, training, prediction, and model inspection into one workflow. Show Path makes the branches followed by a selected prediction visible, with node details available for inspection.
Project journal
Stories, decisions, and discoveries along the way.
No journal entries published yet.
Project gallery













