Skip to content
Decision tree library for D
D
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
source/dtree
.gitignore
.travis.yml
LICENSE
README.org
dub.json

README.org

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

You can’t perform that action at this time.