treeple#

treeple is a package for modern tree-based algorithms for supervised and unsupervised learning problems. It extends the robust API of scikit-learn for tree algorithms that achieve strong performance in benchmark tasks.

Our package has implemented unsupervised forests (Geodesic Forests [Madhyastha2020]), oblique random forests (SPORF [Tomita2020], manifold random forests, MORF [Li2023]), honest forests [Perry2021], extended isolation forests [Hariri2019], and more.

For all forests, we also support incremental building of the forests, using the partial_fit API from scikit-learn [Xu2022], and quantile regression by storing the training samples in the leaves of the trees [Meinshausen2006] (Warning: high memory usage will occur in this setting since predicting quantiles stores the training data within the leaves of the tree).

We encourage you to use the package for your research and also build on top with relevant Pull Requests. See our examples for walk-throughs of how to use the package. Also, see our contributing guide.

We are licensed under PolyForm Noncommercial License (see License).

Contents#

Indices and tables#