Old Style Linear Regression with TensorFlow

Figure 1. Line fitted through linear regression.

This article shows how “old style” linear regression looks when implemented with TensorFlow. When you start diving into TensorFlow, an example like this is typically missing from the tutorials. Linear regression is often the first example, but… read more


Submitted on 3 December 2018

Symbolic Math in Python

Yes, you can do symbolic math in Python! The library to take a look at is SymPy. This article is not a SymPy tutorial, as I only want to walk you through some examples to show you the kinds of things that it can do. A good place to start… read more

Submitted on 22 May 2018

Turtle Graphics in Python

Figure 1. First four stages of the Koch snowflake.

Turtle graphics are a way of drawing where you control a cursor, known as the “turtle”, by instructing it how to move. For example, you tell the turtle to move forward over a certain distance, drawing a line on your screen in the process, then… read more


Submitted on 7 May 2018


Subscribe to TomRoelandts.com RSS