Skip to content

A Javascript (Typescript) implementation of ID3 algorithm using React.js to present the tree.

Notifications You must be signed in to change notification settings

ricassiocosta/id3-decision-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ID3 - Decision Tree

id3-tree

What is ID3?

"In simple words, a decision tree is a structure that contains nodes and edges and is built from a dataset. Each node is either used to make a decision (known as decision node) or represent an outcome (known as leaf node)." (Yaser Sakkaf, 2020)

About

This project was created during the Artificial Intelligence discipline, with the collaboration of Yuri Ribeiro, my course colleague.
The frontend of this application was created using React.js and some libraries to show the tree.

How can you test it

If you want to test the application on your machine, just perform a 'clone' or simply download this repository. Then just run the following codes:

yarn

then

yarn start

You can also use npm instead of yarn

A web page will open in your browser with the decision tree. In this project we have 3 databases already defined (bank.json, tennis.json and bank_error.json). If you want to add new databases just be aware that the class property needs to be the last value declared in the json.

About

A Javascript (Typescript) implementation of ID3 algorithm using React.js to present the tree.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published