{"id":26703229,"url":"https://github.com/shigekikarita/d-tree","last_synced_at":"2026-02-07T09:32:35.737Z","repository":{"id":80353898,"uuid":"120471490","full_name":"ShigekiKarita/d-tree","owner":"ShigekiKarita","description":"Decision tree library for D","archived":false,"fork":false,"pushed_at":"2018-02-17T04:19:01.000Z","size":2199,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-04T04:00:05.328Z","etag":null,"topics":["decision-tree","gradient-boosting","mir","numir"],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShigekiKarita.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-06T14:39:13.000Z","updated_at":"2020-11-15T05:00:01.000Z","dependencies_parsed_at":"2023-06-06T05:00:34.554Z","dependency_job_id":null,"html_url":"https://github.com/ShigekiKarita/d-tree","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ShigekiKarita/d-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShigekiKarita%2Fd-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShigekiKarita%2Fd-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShigekiKarita%2Fd-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShigekiKarita%2Fd-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShigekiKarita","download_url":"https://codeload.github.com/ShigekiKarita/d-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShigekiKarita%2Fd-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29191405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decision-tree","gradient-boosting","mir","numir"],"created_at":"2025-03-27T03:19:26.676Z","updated_at":"2026-02-07T09:32:35.730Z","avatar_url":"https://github.com/ShigekiKarita.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Decision tree library for D\n\n[[https://travis-ci.org/ShigekiKarita/d-tree][file:https://travis-ci.org/ShigekiKarita/d-tree.svg?branch=master]]\n[[https://codecov.io/gh/ShigekiKarita/d-tree][file:https://codecov.io/gh/ShigekiKarita/d-tree/branch/master/graph/badge.svg]]\n[[https://code.dlang.org/packages/d-graphviz][file:https://img.shields.io/dub/v/d-graphviz.svg]]\n\ngetting started\n\n#+begin_src\n$ curl https://dlang.org/install.sh | bash -s # install dlang compiler\n$ source ~/dlang/\u003cyour-compiler\u003e/activate\n$ cd example/plot_dtree_boundary\n$ dub run\n$ xdg-open *.png\n#+end_src\n\n- single decision tree classification result\n\n[[./example/plot_boundary/plot_dtree_gini.png]]\n\n- random forest classification result\n\n[[./example/plot_boundary/plot_forest_gini.png]]\n\n\n- single decision tree regression result in `example/sin_regression`\n\n[[./example/sin_regression/plot_tree.png]]\n\n\n- random forest regression result in `example/sin_regression`\n\n[[./example/sin_regression/plot_forest.png]]\n\n\n** Roadmap\n\n- DONE Classification tree (2/6)\n- DONE Random forest (2/7)\n- DONE Regression tree (2/9)\n- DONE Gradient boosting (2/14)\n- TODO bootstrap sampling in RF\n- TODO Parallel processing\n- TODO Serialization\n- TODO Support libsvm format\n\n** Reference\n\n- [[https://web.stanford.edu/~hastie/Papers/ESLII.pdf][The Elements of Statistical Learning 2nd Edition]]\n- [[https://arxiv.org/pdf/1603.02754.pdf][XGBoost: A Scalable Tree Boosting System]]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshigekikarita%2Fd-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshigekikarita%2Fd-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshigekikarita%2Fd-tree/lists"}