© 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_13

13. The kNN Model

Joos Korstanje1  
(1)
Maisons Alfort, France
 

In this chapter, you will discover the kNN model. The kNN model is the third supervised machine learning model that is covered in this book. Like the two previous models, the kNN model is also one of the simpler models. It is also intuitively easy to understand how the model works. As a downside, sometimes it is not performant enough to compete with the more advanced machine learning models that you will see in the following chapters.

Intuitive Explanation

So what is the kNN model all about? The intuitive idea ...

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.