Skip to content

berlincho/ID3-Decision-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ID3 Decision Tree based on iris.data

About

K – Fold Cross Validation, Default K= 5

Environment: Python 2.x

Execution: python main.py or sh run.sh

Arguments

-RF: Random Forests Algorithm

Execution: python main.py -RF or sh RF.sh

Output Format

< Total Accuracy >

< class1 Precision > < class1 Recall >

< class2 Precision > < class2 Recall >

< class3 Precision > < class3 Recall >

Attribute Information:

  1. sepal length in cm
  2. sepal width in cm
  3. petal length in cm
  4. petal width in cm
  5. class: -- Iris Setosa -- Iris Versicolour --Iris Virginica