Giter Club home page Giter Club logo

desicion-tree-id3's Introduction

Decision Tree Model (specificly ID3 algorithm).

This program takes an input dataset and built the Decision Tree.

It generates ‘Output.dot’ and ‘Testset Report.txt’ files.

Output.dot is a file which in 'graphiz' format.


Input dateset must have this format: (The example dataset)

% 'T:' Identifies the Attribute Title Line

% 'A:' Identifies Training Set Examples

% 'B:' Identifies Test Set Examples

T: ReadBefore, RelatedTopic, HotTopic, InterestedIn, PublishYear, Length, HelpfulDegree, Type, WillRead;

A: no, no, yes, yes, 2010-2015, long, high, journal, no;

A: yes, yes, no, no, after2015, short, high, conferance, no;

A: no, yes, yes, yes, before2010, long, low, conferance, no;

A: no, no, no, yes, after2015, short, high, conferance, yes;

A: yes, yes, no, yes, after2015, long, low, journal, no;

A: yes, no, yes, no, 2010-2015, long, high, conferance, no;

A: yes, yes, no, yes, 2010-2015, long, low, journal, no;

B: no, yes, yes, no, before2010, long, medium, conferance, no;

B: no, no, yes, yes, after2015, long, high, journal, yes;

B: no, no, yes, yes, before2010, short, low, conferance, no;


Use can convert your .dot file to a tree using this link.

desicion-tree-id3's People

Contributors

aliabbasi avatar

Watchers

 avatar  avatar

Forkers

shreyasomkuwar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.