An open API service indexing awesome lists of open source software.

https://github.com/t-lak/decision-tree

This project implements a basic Decision Tree classifier. It supports visualizing the tree and calculating performance metrics (accuracy, precision, F1-score, and recall).
https://github.com/t-lak/decision-tree

decision-trees graphviz metrics numpy python3 scikit-learn

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## 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
```bash
python3 dtc_cli.py dataset_name.csv
```

## Dependencies
- Python 3.x
- NumPy
- Pandas
- Graphviz
- Scikit-learn

## Installation

To install the required dependencies, run:
```bash
pip install -r requirements.txt
```

## License
This project is licensed under the MIT License.