2021-12-17

Shebang in Linux Shell Scripting

6 mins read You’ll often come across shell scripts that start with: This #! is called shebang or hashbang. The shebang plays an important role […]
2021-12-12

Useful keyboard shortcuts for Linux Bash

5 mins read The bash shell features a wide variety of keyboard shortcuts you can use. These will work in bash on any […]
2021-12-10

Understanding Gaussian Process

79 mins read Gaussian Process is a machine learning technique. You can use it to do regression, classification, among many other things. Being […]
2021-12-10

Docker Swarm tutorial along with code

29 mins read Table of Content •  Your first Swarm cluster •  Your first Swarm deployment •  Explore the stack •  Set up […]
2021-12-04

Sampling from a multivariate Gaussian (Normal) distribution with Python code

3 mins read Multivariate Gaussian distribution is a fundamental concept in statistics and machine learning that finds applications in various fields, including data […]
2021-11-29

Solving six problems with Bayesian statistics

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

Bahdanau and Luong Attention Mechanisms explained

11 mins read Conventional encoder-decoder architectures for machine translation encoded every source sentence into a fixed-length vector, irrespective of its length, from which […]
2021-11-21

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

4 mins read 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

7 mins read 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

5 mins read 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-15

Machine Learning From Scratch Series: Naive Bayes and Gaussian Naive Bayes

16 mins read Introduction Naïve Bayes algorithm is a supervised classification algorithm based on the Bayes theorem with strong (Naïve) independence among features. In machine learning and data […]
2021-11-12

Making data pipelines in Pandas using .pipe() method

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

Hands-on Docker Swarm networking using Play with Docker

11 mins read In this article, I’m going to cover 2 main subjects of the networking domain for the Docker Certified Associate DCA […]
2021-11-09

The BERT Model

17 mins read The year 2018 has been an inflection point for machine learning models handling text (or more accurately, Natural Language Processing […]
2021-11-08

Definitive Docker Swarm Tutorial

17 mins read In this guide, you will learn everything you need to know about Docker Swarm and how to use it to […]
2021-11-08

Using BERT for Sentence Sentiment Classification

11 mins read Progress has been rapidly accelerating in machine learning models that process language over the last couple of years. This progress […]
2021-11-08

Seq2Seq models, Attention Mechanism, and Transformers Explained

29 mins read Sequence-to-sequence models are deep learning models that have achieved a lot of success in tasks like machine translation, text summarization, […]
2021-11-05

Volumes in Docker Compose tutorial

5 mins read The purpose of this post is to review how we can use volumes in Docker Compose. These are some possible scenarios: […]
2021-11-04

A guide on Gradient Boosting models

22 mins read An introduction to additive modeling Before we get into boosting, let’s look at an example of what mathematicians call additive modeling because […]
2021-11-04

What are Digests in Docker

6 mins read Most Docker images are run as containers by invoking something along the lines of docker run <image>:<tag>. However, it’s also possible–and […]