This is how I found out how to add a switcher to toggle between light and dark modes of minimal mistakes theme.
Posts by Year
My list of reference materials containing for mathematical optimisation, based on Quora.
In this series of posts, we analyze how to maximize the profit of marketing campaigns using mathematical optimization techniques. In the first part, we use o...
Mixed Integer Programming (MIP) are a form of optimization that is formulated using a combination of equations that are continous and discrete.
In applications you often want to take the maximum of two numbers. But the simple function
In this blog post, I show how to plot a weighted graph using networkx.
In this post I show how to use hyperopt to tune hyperparameters of classifiers.
Based on the machine learning canvas, I wrote down a hypothesis test canvas to clarify what hypothesis we are testing, what data is employed and how the resu...
In this post I show how to calculate the necessary number of observations using statistical power analysis.
The Cantor set is a special type of set in mathematics. In this blog post, I will use it as an illustration of how my mind works, when I learning a new topic.
Here is show how I developed a four-dimensional heatmap.
The value_counts() function in the popular python data science library Pandas is a quick way to count the unique values in a single column otherwise known as...
In this gist, I show how to get the latest record or a user based on a datetime column.
Natural language processing (NLP) is a field of study dedicated to analyze of natural languages. In particular, using statistics and algorithms.
In this gist, I find what is the closest row to a given value.
This gist contains my default settings for a Jupyter notebook as a header.
In this gist, I calculate aggregate the datetime column according to different periods (e.g. day, week, and month)
In this gist, I calculate the cumulative sum of the column no, based on the columns nameand day.
I found this post on how to sign commits with gpg on Medium, and I copied to my blog so I can keep for my records. Please, visit the original source at:
In this post, I present an overview of statistical tests. The goal of calculating a test statistic is to decided if the null hypothesis is true. Once value o...
Every quantity that is estimated from data, such as the mean or the variance, is subject to uncertainties of the measurements due to data collection. If a di...