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 […]

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 […]

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 […]

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 […]

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 […]

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 […]

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. […]

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 […]