Technical requirements
From Chapter 2, Key Concepts of Interpretability, onward, we are using a custom mldatasets library to load our datasets. Instructions on how to install this library are located in the Preface. In addition to mldatasets, this chapter's examples also use the pandas, numpy, sklearn, rulefit, cvae, interpret, statsmodels, matplotlib, and skope-rules libraries. The code for this chapter is located here: https://github.com/PacktPublishing/Interpretable-Machine-Learning-with-Python/tree/master/Chapter03.