Skip to content

russelldutton/decisiontree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classification Decision Tree

My implementation of an algorithm to induce a classification decision tree, written in python3.

All the code is included in the DecisionTree.py.

This program is run as follows:

python3 DecisionTree.py <option> data.spec data.dat

where option can be one of four options:

  • -d: Induce a tree only with discrete data
  • -c: Induce a tree that contains continuous values
  • -md: Induce a tree, in addition to discrete data, may contain missing values
  • -pd: Induce a tree, in addition to discrete data, prune the tree after induction with a limit of 5% generalisation error deterioration

Additional data files and their spec files can be found in the data folder

About

Implementation of the induction of a classification decision tree

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published