Walk-forward optimization for algorithmic trading strategies on cloud architecture

11 mins read Table of Contents: Introduction Terminology Walk-forward Optimization Design of walk-forwards The Architecture Configuring cloud machines using Ansible Docker Swarm Optimization […]

Understanding stdin, stdout, and stderr in Linux

11 mins read stdin, stdout, and stderr are three data streams created when you launch a Linux command. You can use them to tell if your […]

What is a Makefile?

27 mins read If you want to run or update a task when certain files are updated, the make utility can come in handy. The make utility […]

Useful sed command use cases in Linux

8 mins read In this article, we will review sed, the well-known stream editor, and share 15 tips to use it in order […]

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

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

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

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

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

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

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

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

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

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

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

23 Useful but less used Pandas Functions

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