Abstract
Tree-based models have proven to be remarkably useful for prediction tasks in machine learning and have recently been applied to and modified for problems in economics and finance. In this chapter, we introduce the concept of tree-based models, including random forests and gradient-boosted trees, and then examine their implementation in the high-level Estimators API.