2021-12-04

Steps to sample from a multivariate Gaussian (Normal) distribution with Python code

Steps: A widely used method for drawing (sampling) a random vector x from the N-dimensional multivariate normal distribution with mean vector μ and covariance matrix Σ works as […]
2021-11-29

Solving six problems with Bayesian statistics

1) The first one is a warm-up problem. Suppose there are two full bowls of cookies. Bowl #1 has 10 […]
2021-11-21

Difference between Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP)

Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP), are both methods for estimating variable from probability distributions or graphical […]
2021-11-20

Understanding Expectation-Maximization (EM) algorithm with an example in Python

Suppose we have some data sampled from two different groups, red and blue: Here, we can see which data point […]
2021-11-15

Using pre-commit and Makefile for Python code development workflow

Introduction When developing Python code we are constantly adding and committing changes. However, nothing stops us from committing low-quality code, e.g. code […]
2021-11-12

Making data pipelines in Pandas using .pipe() method

Real-life data is usually messy. It requires a lot of preprocessing to be ready for use. Pandas being one of […]
2021-11-11

23 Useful but less used Pandas Functions

Pandas is so vast and deep that it enables you to execute virtually any tabular manipulation you can think of. […]
2021-11-09

Hands-on Docker Swarm networking using Play with Docker

In this article, we’re going to cover 2 main subjects of the networking domain for the Docker Certified Associate DCA […]