# Colonize Space with Fractal Trees

## A quick guide to fractals and the Space Colonization algorithm

In this article, I’m going to code up some special kind of squiggly shapes that might not help us colonize the galaxy any time soon, but probably will bend your mind and make math fun again. The subject is called fractals.

# What are Fractals?

Before answering this question, let’s first look at some examples. Consider the length of the coastline of Britain. How long do you think it is? After a bit Googling you may find:

11,073 miles according to the mapping authority for the United Kingdom

But it also mentions something called the Coastline Paradox. …

# Simulate Any Distribution with Rejection Sampling

## A short probability and algorithm tutorial that’s worth your while

When you want some values from a certain probability distribution, say, a normal distribution, you could simply call `rnorm` in R, or `numpy.random.normal` in Python. But have you ever wondered how they do it under the hood? The underlying idea is incredibly simple yet powerful. In this article, I'm going to explain it visually without boring you with any math symbols. In 3 minutes, you'll be able to implement your own custom distribution simulator. Let's get started!

# Rejection Sampling by Monte Carlo Simulation

Any computer system should come with a pseudorandom number generator that is able to give you (pseudo) uniformly distributed random numbers. …

# Building A Mental Model for Backpropagation

## By implementing your own deep learning framework in Python

As the beating heart of deep learning, a solid understanding of backpropagation is required for any deep learning practitioner. …