d-tree 0.0.1

Decision tree library for D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

  • Decision tree library for D

[[https://travis-ci.org/ShigekiKarita/d-tree][file:https://travis-ci.org/ShigekiKarita/d-tree.svg?branch=master]] [[https://codecov.io/gh/ShigekiKarita/d-tree][file:https://codecov.io/gh/ShigekiKarita/d-tree/branch/master/graph/badge.svg]]

getting started

#+beginsrc $ curl https://dlang.org/install.sh | bash -s # install dlang compiler $ source ~/dlang//activate $ cd example/plotdtreeboundary $ dub run $ xdg-open *.png #+endsrc

  • single decision tree classification result

[[./example/plotboundary/plotdtree_gini.png]]

  • random forest classification result

[[./example/plotboundary/plotforest_gini.png]]

  • single decision tree regression result in example/sin_regression

[[./example/sinregression/plottree.png]]

  • random forest regression result in example/sin_regression

[[./example/sinregression/plotforest.png]]

** Roadmap

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

** Reference

  • [[https://web.stanford.edu/~hastie/Papers/ESLII.pdf][The Elements of Statistical Learning 2nd Edition]]
  • [[https://arxiv.org/pdf/1603.02754.pdf][XGBoost: A Scalable Tree Boosting System]]
Authors:
  • Shigeki Karita
Dependencies:
numir
Versions:
0.0.1 2018-Feb-09
~master 2018-Feb-17
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 8 downloads total

Score:
0.8
Short URL:
d-tree.dub.pm