Logo
About Blog Projects Talks Podcasts Tags Other work
About Blog Projects Talks Podcasts Tags Other work

Blog

Post image

Optimising the Minkowski distance, part 1: vector subtraction

In the last blog post, we discussed how to calculate the Manhattan and Euclidean distances from first principles. However, in that post, we did a very manual implementation for a single pair of vectors, which would not generalise well to more than …

Posted on June 14, 2022 • 8 minutes read Read on
Post image

Just enough linear algebra to understand the Minkowski distance

If you had to invent a machine learning algorithm from scratch, what would be some of the ways you'd find patterns in your data? One idea that you might have come up with is to assume that data points that are "close" to each other are similar, and …

Posted on June 7, 2022 • 10 minutes read Read on
Post image

Exploring decision tree modelling with DataSpell

During my years of working as a data scientist, I've tried quite a number of IDEs. When I was primarily working with R, RStudio was a very nice environment to work with, but when I moved to working in Python I hadn't been able to find anything close. …

Posted on December 28, 2021 • 9 minutes read Read on
Post image

Congruence relations and modular arithmetic

If you cast your mind back to the blog post on relations, you might remember a concept called equivalence classes. These are a consequence of when we have an equivalence relation of a set, and they partition the set into mutually exclusive subsets. A …

Posted on April 26, 2021 • 8 minutes read Read on
Post image

Coprime numbers

In the last blog post, we talked about divisibility and the greatest common divisor, or $\gcd$. You might have been wondering already in that post what happens when two integers don't have any common divisors? Well, in this case, as 1 divides every …

Posted on April 12, 2021 • 6 minutes read Read on
Previous Page 3 of 16 Next
Copyright © 2015 - 2026 Jodie Burchell   |   BY-NC 4.0