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

Tags:

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

Tags:

Submitted on 7 May 2018

How to Create Animated GIFs with Python

Animated Mandelbrot fractal

To close the series of articles on how to compute fractals using NumPy array operations, I want to show you one more thing: how to create animated GIFs from those NumPy arrays. The first point to make is that… read more

Tags:

Submitted on 9 April 2018

Pages

Subscribe to TomRoelandts.com RSS