Skip to content

Decision Tree implementation in C++ based on CART and Gini uncertainty. Visualize your Tree with built-in Graphviz dotfile generator

License

Notifications You must be signed in to change notification settings

juliangaal/dtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtree Build Status

Decision Tree implementation in C++ based on Gini uncertainty and this great example.

Graphviz File Generator

use built-in Graphviz dot file generator to export decision tree to .dot file, that you can visualize with xdot or an online viewer. Example graph:

Alt Text

results from iris.dot and this dataset.

Requirements

  • Boost (algorithm header)
  • {fmt}
  • gcc >= 8, clang tested for >= 7
  • cmake >= 3.9
  • Catch2 (for testing)

TODO

  • handle missing data in files
  • pruning?

About

Decision Tree implementation in C++ based on CART and Gini uncertainty. Visualize your Tree with built-in Graphviz dotfile generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published