项目作者: ricassiocosta

项目描述 :
A Javascript (Typescript) implementation of ID3 algorithm using React.js to present the tree.
高级语言: TypeScript
项目地址: git://github.com/ricassiocosta/id3-decision-tree.git
创建时间: 2021-05-02T20:11:08Z
项目社区:https://github.com/ricassiocosta/id3-decision-tree

开源协议:

下载


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.