Metadata-Version: 2.4
Name: tree-again
Version: 0.1.2
Summary: Multistage Defer Trees: a sequence of interpretable decision trees that can defer to a complex model as needed.
Author: Zakk Heile, Hayden McTavish, Varun Babbar, Margo Seltzer, Cynthia Rudin
License-Expression: MIT
Project-URL: Homepage, https://github.com/zakk-h/MDT
Project-URL: Repository, https://github.com/zakk-h/MDT
Project-URL: Issues, https://github.com/zakk-h/MDT/issues
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES.md
License-File: licenses/Eigen-NOTICE
License-File: src/tree_again/clari_tree/LICENSE
Requires-Dist: numpy>=1.23
Requires-Dist: matplotlib>=3.6
Requires-Dist: scikit-learn>=1.1
Requires-Dist: pandas>=1.5
Requires-Dist: scipy
Requires-Dist: imodels
Requires-Dist: interpret
Requires-Dist: xgboost
Requires-Dist: licketysplit
Provides-Extra: tabpfn
Requires-Dist: tabpfn; extra == "tabpfn"
Dynamic: license-file

# tree-again

Code for **[Multistage Defer Trees for Hybrid Interpretability: If at First You Can't Succeed, Tree Again](https://arxiv.org/pdf/2606.30995)** at NeurIPS 2026.

This package supports learning decision trees that defer to a more complicated model and multistage defer trees: a sequence of trees that defer to the next model, optionally with a black box at the end.

## Installation

We recommend installing from PyPI:

```bash
python -m pip install tree-again
```

You can also install from a local copy of this repository by running the following from its root directory:

```bash
python -m pip install .
```

See [example.ipynb](https://github.com/zakk-h/MDT/blob/main/examples/example.ipynb) for classification and regression examples.

## Citation

```bibtex
@inproceedings{
heile2026multistage,
title={Multistage Defer Trees for Hybrid Interpretability: If at First You Can't Succeed, Tree Again},
author={Anonymous},
booktitle={The Fortieth Annual Conference on Neural Information Processing Systems},
year={2026},
url={https://openreview.net/forum?id=bl5HDT7AO1}
}
```
