Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Decision tree library for D

https://travis-ci.org/ShigekiKarita/d-tree.svg?branch=master https://codecov.io/gh/ShigekiKarita/d-tree/branch/master/graph/badge.svg https://img.shields.io/dub/v/d-graphviz.svg

getting started

$ curl https://dlang.org/install.sh | bash -s # install dlang compiler
$ source ~/dlang/<your-compiler>/activate
$ cd example/plot_dtree_boundary
$ dub run
$ xdg-open *.png
  • single decision tree classification result

./example/plot_boundary/plot_dtree_gini.png

  • random forest classification result

./example/plot_boundary/plot_forest_gini.png

  • single decision tree regression result in `example/sin_regression`

./example/sin_regression/plot_tree.png

  • random forest regression result in `example/sin_regression`

./example/sin_regression/plot_forest.png

Roadmap

  • DONE Classification tree (2/6)
  • DONE Random forest (2/7)
  • DONE Regression tree (2/9)
  • DONE Gradient boosting (2/14)
  • TODO bootstrap sampling in RF
  • TODO Parallel processing
  • TODO Serialization
  • TODO Support libsvm format

Reference