Ibrahim Ahmed

Machine Learning

Poor Man's Autograd

Mar 27, 2026 | 11 min read
Categories: Machine Learning,
Tags: Neural Networks, Llm, Graphs,
Deriving the code for differentiating code. Inspired by microgpt.

Surprise! A derivation of entropy

Dec 4, 2025 | 14 min read
Categories: Machine Learning, Computer Science,
Tags: Machine Learning,
I explain entropy to myself

Poor Man's Autograd

Mar 27, 2026 | 11 min read
Categories: Machine Learning,
Tags: Neural Networks, Llm, Graphs,
Deriving the code for differentiating code. Inspired by microgpt.

Surprise! A derivation of entropy

Dec 4, 2025 | 14 min read
Categories: Machine Learning, Computer Science,
Tags: Machine Learning,
I explain entropy to myself

Escaping Echochambers

Oct 20, 2017 | 11 min read
Categories: Machine Learning,
Tags: Machine Learning, Principal Component Analysis, Visualization,
Using PCA and clustering on Imgur posts to explore how recommendation systems create digital echo chambers, and how to counter them.

Markov Chains – Random Text Generation

Apr 29, 2016 | 3 min read
Categories: Machine Learning,
Tags: C/C++, Hpc, Markov,
How Markov chains generate grammatically plausible random text from a corpus, and how multi-threading speeds up building the prefix-suffix table.