Category: Computer Science
-
Introduction to Linear & Polynomial Regression
Problem Definition Let’s say you run a business and you’re spending a varying amount of money on advertisements every single month.Naturally, your revenue is not uniform across all months and you’re trying to better understand and hopefully predict how do ads spendings predict revenue. I spent X on ads this month so my revenue should […]
-
Automate a New Project Creation
Although it is not such a demanding task I looked into automating the process of creating a new project since automating stuff is always nice.Instead of creating some git repo and upload it to github with a README file manually, we are going to do it in one command, and it’s not even hard to […]
-
SVD Image Compression in Python
In this article we are going to take a deep dive into the SVD compression algorithm.I’ll start with explaining the theory and going through an example, and after we got our theory covered I’ll share with you the code to implementing this algorithm in Python. Before we begin, note that I’m going to assume you […]
-
City Planning Using Graph Theory
Let’s wear our “city-planner’s” hats for this article. Assume that we are building a new city with n neighborhoods and m one-way roads between them. Being city planners, we have a passion for pizza, and we want to place a minimal amount of pizzerias such that from each pizzeria the delivery guy could drive to a certain neighborhood and go back as well. […]