mathematics

white houses with shingle roofs in neighborhood - k nearest neighbor algorithm

Playing with Mathematics and Programming – The k-Nearest Neighbor Algorithm – Two Challenges

In this article, we will give you two challenges related to the $k$-nearest neighbor ($k$-NN) algorithm. Before we do so, we will explain to you what the $k$-nearest neighbor algorithm is. What is the k-Nearest Neighbor Algorithm? A simple case Let’s say there are points in some space, where some of them are colored yellow …

Playing with Mathematics and Programming – The k-Nearest Neighbor Algorithm – Two Challenges Read More »

sponge - computer-generated recursive graphic

Playing with Mathematics and Programming – The Recursive Least Square Algorithm – Two Challenges

In this article, we present two challenges related to the recursive least square algorithm [1]. We will first explain what the recursive least square algorithm is. The Recursive Least Square Algorithm 1-Dimensional Case In the one-dimensional case, let’s say we have a linear relation of real numbers of the form $y=ax+e$, where $x$ is a …

Playing with Mathematics and Programming – The Recursive Least Square Algorithm – Two Challenges Read More »