Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.2 KB

decisionTree

Decision tree classifier for credit dataset using ID3,C4.5 and CBDSDT

Install dependencies as:

  1. pip install pandas
  2. pip install plotly
  3. pip install graphviz

Usage:

Creates decision tree using different dtree algos such as ID3,C4.5 and CBDSDT(Cost Benefit Dual Sensetive Decision Tree). Also, compares these algorithms. Run as: python dtree.py Decision trees are stored in folder dtree

Decision Tree:

C4.5 on Creditor's database alt text

ID3 on Creditor's database alt text

CBDSDT on Creditor's database alt text

Comparison Graphs

accuracy
misclassification cost
correct classification cost