Oh My Kode | OhMyKode is an opportunity to share knowledge about mathematics, computer science, machine learning and algorithmic beauty, which allows us to improve our skills and learn in depth. It is a sharing place to learn the how and the why.

Oh My Kode

12 articles

Machine Learning

The Transformer, Explained

If attention is an engine, the Transformer is the whole car built around it. Introduced in the 2017 paper whose title says it all,...

January 2026
Algorithmic

HyperLogLog, Counting Millions with Kilobytes

How many distinct visitors did your website get today ? The obvious way is to keep a set of every visitor ID you have...

March 2025
Machine Learning

The Attention Mechanism, Explained

Read this sentence : “The cat sat on the mat because it was tired.” Who was tired ? You knew instantly it was the...

July 2024
Machine Learning

XGBoost, Explained

If neural networks rule images, audio and text, there is another model that quietly wins almost everything else, the spreadsheets, the tables, the columns...

September 2023
Algorithmic

Introduction to Bloom Filters

Suppose you are building a web crawler and, for every URL you meet, you must answer one question : “have I seen this before...

January 2023
Machine Learning

Backpropagation, How Neural Nets Actually Learn

Everyone is told that neural networks learn by “backpropagation”, and everyone is then shown a wall of matrix equations bristling with transposes and tiny...

April 2022
Mathematics

Kolmogorov's Superposition Theorem

At the 1900 International Congress of Mathematicians, David Hilbert presented a list of 23 problems that would shape the century to come. His thirteenth...

June 2021
Machine Learning

Gradient Descent and Optimisation

Imagine you are lost on a foggy mountain and want to reach the valley. You cannot see far, but you can feel the slope...

September 2020
Mathematics

The Universal Approximation Theorem

Why do neural networks work at all ? Before worrying about how to train a network, it is worth asking whether a network is...

January 2020
Mathematics

The Fourier Transform, Why Sinusoids?

Shine white light through a prism and it fans out into a rainbow : the prism reveals that “white” was secretly a mixture of...

May 2019
Python

Memoization - Remember what we already found

Certain problems can be solved quite easily using recursion. It is the process in which a function calls itself directly or indirectly by defining...

November 2018
Mathematics

Introduction to Chromatic Polynomials

One of the most well known problems in graph theory is the four color theorem for map coloring. A simple example to understand that...

October 2018

who am i

Hi! I am a Data Scientist by profession, an Emacs devotee and an untalented bassist. I intend to use this space for writing about things that I think I have understood well in the hope that they may be helpful to others, including my future self.

what is this

OhMyKode is an opportunity to share knowledge about mathematics, computer science, machine learning and algorithmic beauty, which allows us to improve our skills and learn in depth. It is a sharing place to learn the how and the why.

© MMXVIII - MMXX by Maâmra Youcef - معامره يوسف
Content available under Creative Commons (BY-NC-SA) unless otherwise noted.
This site is hosted at Github Pages and powered by Jekyll & Papyrus.
“We can't skip Math forever !”