mathematics

freight boat transporting containers on ocean - linear programming - simplex algorithm

Playing with Mathematics and Programming – The Simplex Algorithm for Linear Programming – Two Challenges

We will give you two challenges in this article. Before we do so, we will tell you what the simplex algorithm for solving linear programming problems is. We will first show you a few simple cases. What is the simplex algorithm for linear programming? One-dimensional case Let $f$ be a linear function defined as $cx$, …

Playing with Mathematics and Programming – The Simplex Algorithm for Linear Programming – Two Challenges Read More »

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 »