ODTlearn: A Package for Learning Optimal Decision Trees for Prediction and Prescription

Patrick Vossler, Sina Aghaei, Nathan Justin, Nathanael Jo, Andrés Gómez +1 more
7/28/2023
stat.MLcs.LGmath.OC

Official code: D3M-Research-Group/odtlearn (42 stars, GPL-3.0, last commit 2024-07-14).

Abstract

ODTLearn is an open-source Python package that provides methods for learning optimal decision trees for high-stakes predictive and prescriptive tasks based on the mixed-integer optimization (MIO) framework proposed in (Aghaei et al., 2021) and several of its extensions. The current version of the package provides implementations for learning optimal classification trees, optimal fair classification trees, optimal classification trees robust to distribution shifts, and optimal prescriptive trees from observational data. We have designed the package to be easy to maintain and extend as new optimal decision tree problem classes, reformulation strategies, and solution algorithms are introduced. To this end, the package follows object-oriented design principles and supports both commercial (Gurobi) and open source (COIN-OR branch and cut) solvers. The package documentation and an extensive user guide can be found at https://d3m-research-group.github.io/odtlearn/. Additionally, users can view the package source code and submit feature requests and bug reports by visiting https://github.com/D3M-Research-Group/odtlearn.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A package for tree-based statistical estimation and inference using optimal decision trees.

4214PythonJan 7, 20222 years agoGPL-3.0

Similar Papers

Cite this paper

@article{vossler2023odtlearn,
  title  = {ODTlearn: A Package for Learning Optimal Decision Trees for Prediction and Prescription},
  author = {Patrick Vossler and Sina Aghaei and Nathan Justin and Nathanael Jo and Andrés Gómez and Phebe Vayanos},
  year   = {2023},
  eprint = {2307.15691},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.15691v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.15691.svg)](https://codeofpaper.com/paper/2307.15691)

Discussion