Category: Learn to Code

decoration on dark grey table
Code Principles

Decorators in Python

Have you ever seen “@” symbols in Python code and wondered how they work and what they do? The expressions used with them are called decorators, and while they may seem magical at first glance, understanding them is not a masterpiece. In this post we are going to demystify the decorators in Python and explain what they do, how they work, and how you can create them yourself!

Read More »
kmeans preview

Visualize K Means Algorithm in Python

In this article we want to take a look at the k-means algorithm. The k-means algorithm is used to determine clusters. It is often the first algorithm you will see in any machine learning introduction, as it is easy to understand. We will code the algorithm in Python and also visualize it.

Read More »

How to use Linux Ubuntu with Windows 10

If you are a developer or plan to become one, developing on Windows as the operating system (OS) can be… pretty unpleasant. Therefore I want to list some ways on how to use Linux Ubuntu 20.04 with Windows 10. Often it’s no option to install the Linux OS directly to the computer. That’s when virtualization comes into play.

Read More »

Underscores in Python

Python is a great language in my eyes, it’s simple to understand, write and its indentation forces at least a bit of styling into the code. But when it comes to underscores, there’s often confusion.

Read More »