Posts
mblocks - A Multi-Threaded Status Monitor for dwm
October 21, 2022 at 12:07 AM,
by
Mehdi
programming
status monitor
rust
dwm
Publication of mblocks, a multi-threaded memory-safe status monitor for dwm and other window managers, written in Rust.
Anonymous walk embeddings: the growth of anonymous walks with length
May 03, 2020 at 04:30 PM,
by
Mehdi
representation learning
node embedding
graph embedding
data science
Graph embedding is a field of representation learning aiming to transform a graph into a vector of features (numbers) that captures the structural aspect of the graph and/or its node features. One of these techniques is the Anonymous Walk Embedding designed by Sergey Ivanov and Evgeny Burnaev. In their paper, the authors state: "Direct computation of AWE relies on the enumeration of all different random walks in graph G, which is shown below to grow exponentially with the number of steps". In this post, I will show you what is the relationship between the embedding size and the length of the generated random walks.
How to parallelize computation across CPU threads in python?
April 14, 2020 at 01:00 AM,
by
Mehdi
python
programming
Parallel computing is of paramount importance for the scientific community as it allows to carry the execution of calculations simultaneously, leading to a significant cut in computation time. In this post, I will show you how I parallelize computation across the CPU threads using python. I will illustrate the latter through an example: the estimation of Pi using Monte Carlo simulation.
Where does the normal equation come from?
September 29, 2019 at 06:12 PM,
by
Mehdi
machine learning
mathematics
The normal equation is a method for analytically finding the parameters of a multivariate linear regression problem. This post aims to help ML students understand how to find the normal equation from scratch.