© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. KorstanjeAdvanced Forecasting with Pythonhttps://doi.org/10.1007/978-1-4842-7150-6_12

12. The Decision Tree Model

Joos Korstanje1  
(1)
Maisons Alfort, France
 

As you’ve discovered in the previous chapter, there is a distinction in supervised machine learning models between linear and nonlinear models. In this chapter, you will discover the Decision Tree model. It is one of the simplest nonlinear machine learning models.

The idea behind the Decision Tree model can be intuitively understood as a long list of if-else statements. Those if-else decisions would be used at the prediction stage: the model predicts some result x if a certain condition is true, and ...

Get Advanced Forecasting with Python: With State-of-the-Art-Models Including LSTMs, Facebook’s Prophet, and Amazon’s DeepAR now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.