Skip to content

This project implements a basic Decision Tree classifier. It supports visualizing the tree and calculating performance metrics (accuracy, precision, F1-score, and recall).

License

Notifications You must be signed in to change notification settings

T-Lak/Decision-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project implements a basic Decision Tree classifier. It is designed to perform classification tasks on datasets with labeled features.

Features

  • 📄 Tree-Visualization: Decision Tree will be stored as PDF file
  • 📊 Metrics: Accuracy, Precision, F1-Score and Recall
  • 🧮 Matrices: Confusion Matrix and Multilabel Matrices

Usage

python3 dtc_cli.py dataset_name.csv

Dependencies

  • Python 3.x
  • NumPy
  • Pandas
  • Graphviz
  • Scikit-learn

Installation

To install the required dependencies, run:

pip install -r requirements.txt

License

This project is licensed under the MIT License.

About

This project implements a basic Decision Tree classifier. It supports visualizing the tree and calculating performance metrics (accuracy, precision, F1-score, and recall).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages