All About Trading!

All About Trading!

Share this post

All About Trading!
All About Trading!
A Beginner’s Guide to Nearest Neighbors For Time Series in Python

A Beginner’s Guide to Nearest Neighbors For Time Series in Python

A Gentle Introduction to the KNN Algorithm for Newcomers to Machine Learning

Sofien Kaabar, CFA's avatar
Sofien Kaabar, CFA
Feb 20, 2024
∙ Paid

Share this post

All About Trading!
All About Trading!
A Beginner’s Guide to Nearest Neighbors For Time Series in Python
Share

In this article, we embark on a journey to demystify KNN, the algorithm that makes predictions based on the company it keeps, quite literally. We will explore how KNN takes inspiration from our everyday experiences, where we often seek advice from our nearest neighbors, friends, or colleagues.

We will dive into two key aspects of KNN: classification and …

Keep reading with a 7-day free trial

Subscribe to All About Trading! to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Sofien Kaabar
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share