This is a simple harmonograph simulator to generate random-ish harmonographs. It asks for the number of pendulums, and exits if … More

# Tag: numpy

# A Neural Network in Python, Part 2: activation functions, bias, SGD, etc.

This is Part 2 of A Neural Network in Python, which was a very simple neural network to learn the … More

# A Neural Network in Python, Part 1: sigmoid function, gradient descent & backpropagation

In this article, I’ll show you a toy example to learn the XOR logical function. My objective is to make it … More

# Tweetable Python Code Golf

Code Golf is the amusement of writing as short as possible a program to perform a given task. So for … More

# Easy Graph Plotting with Pyplot

Graphs (also known as charts) are an indispensible visual aid for conveying a lot of data in an easy-to-digest form. … More