PyDL8.5: a Library for Learning Optimal Decision Trees

Gaël Aglin, Siegfried Nijssen, Pierre Schaus

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence

Demos. Pages 5222-5224.

https://doi.org/10.24963/ijcai.2020/750

PDF BibTeX

Abstract

Decision Trees (DTs) are widely used Machine Learning (ML) models with a broad range of applications. The interest in these models has increased even further in the context of Explainable AI (XAI), as decision trees of limited depth are very interpretable models. However, traditional algorithms for learning DTs are heuristic in nature; they may produce trees that are of suboptimal quality under depth constraints. We introduce PyDL8.5, a Python library to infer depth-constrained Optimal Decision Trees (ODTs). PyDL8.5 provides an interface for DL8.5, an efficient algorithm for inferring depth-constrained ODTs. The library provides an easy-to-use scikit-learn compatible interface. It cannot only be used for classification tasks, but also for regression, clustering, and other tasks. We introduce an interface that allows users to easily implement these other learning tasks. We provide a number of examples of how to use this library.

Keywords

  • Machine Learning: general
  • Constraints and Satisfiability: general
Welcome Future Conferences AI Journal Division IJCAI Proceedings Travel Grant Program IJCAI Awards