Partykit: A Modular Toolkit for Recursive Partytioning in R

Abstract

The R package partykit provides a flexible toolkit for learning, representing, summarizing, and visualizing a wide range of tree- structured regression and classification models. The functionality encompasses: (a) basic infrastructure for representing trees (inferred by any algorithm) so that unified print/plot/predict methods are available; (b) dedicated methods for trees with constant fits in the leaves (or terminal nodes) along with suitable coercion functions to create such trees (e.g., by rpart, RWeka, PMML); (c) a reimplementation of conditional inference trees (ctree, originally provided in the party package); (d) an extended reimplementation of model-based recursive partitioning (mob, also originally in party) along with dedicated methods for trees with parametric models in the leaves. Here, a brief overview of the package and its design is given while more detailed discussions of items (a)—(d) are available in vignettes accompanying the package.

Cite

Text

Hothorn and Zeileis. "Partykit: A Modular Toolkit for Recursive Partytioning in R." Machine Learning Open Source Software, 2015.

Markdown

[Hothorn and Zeileis. "Partykit: A Modular Toolkit for Recursive Partytioning in R." Machine Learning Open Source Software, 2015.](https://mlanthology.org/mloss/2015/hothorn2015jmlr-partykit/)

BibTeX

@article{hothorn2015jmlr-partykit,
  title     = {{Partykit: A Modular Toolkit for Recursive Partytioning in R}},
  author    = {Hothorn, Torsten and Zeileis, Achim},
  journal   = {Machine Learning Open Source Software},
  year      = {2015},
  pages     = {3905-3909},
  volume    = {16},
  url       = {https://mlanthology.org/mloss/2015/hothorn2015jmlr-partykit/}
}