Ibrahim Ahmed

Machine Learning

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,

The echochamber effect is a worrisome issue in social media. It risks isolating users in exclusive groups as they repeatedly subscribe to content that reinforces their biases. To keep users engaged, websites expose users to content similar to their history. You will get recommendations for movies you may like, or peoply you may befriend, or communities you may join - all based on some measure of similarity with your profile.

On first glance, this seems convenient: a user does not need to explicitly search for content. The digital platform assumes a user’s wants. You may even be shown interesting things you wouldn’t have known to look for. As users consume more content, their digital footprints become more accurate descriptors of their preferences. It becomes easier to navigate the world wide web: users’ interests are served on a platter. However, this is not a unitateral benefit. An exchange is being made in the currency of data: convenience for autonomy. At some point, users may find themselves in concord with everything they see online. Gradually, all their new Facebook friends share their views. According to news articles on their social feeds, the world seems to be going in the exact direction they predicted. Every new movie recommendation is a romcom - their guilty pleasure. Uncanny.

Markov Chains – Random Text Generation

Apr 29, 2016 | 3 min read
Categories: Machine Learning,
Tags: C/C++, Hpc, Markov,

This semester I am taking a course in High Performance Computing where I get to work with multi-core systems like computing clusters and graphics cards. For my final project I decided to develop a random text generator and see if I could speed it up.

A popular method of generating random text (that is grammatically correct) is using Markov chains.