Introduction to advanced candlesticks in finance: tick bars, dollar bars, volume bars, and imbalance bars

57 mins read In this article we will explore why traditional time-based candlesticks are an inefficient method to aggregate price data, especially under […]

Python __getattr__ and __getattribute__ magic methods

5 mins read __getattr__ Let’s start with __getattr__. This method will allow you to “catch” references to attributes that don’t exist in your object. […]

Python filter() method tutorial

7 mins read Introduction The Python built-in filter() function can be used to create a new iterator from an existing iterable (like a list or dictionary) that will […]

Python Assignment Expressions with walrus operator use cases

5 mins read Assignment expressions allow variable assignments to occur inside of larger expressions. While assignment expressions are never strictly necessary to write […]

A tutorial on Context Managers in Python

9 mins read Python’s context managers are great for resource management and stopping the propagation of leaked abstractions. You’ve probably used it while […]

5 steps to start becoming a Machine Learning Engineer

16 mins read Step 1: Adjusting Your Mindset Whenever I lead my workshops I always get a lot of questions afterward from developers […]

Which Mean should we use? A guide on Arithmetic, Geometric, and Harmonic Means in Data Analysis

45 mins read Introduction It’s probably the most common data analytic task: You have a bunch of numbers. You want to summarize them […]

Setup and run Jupyter notebook from a remote server by ssh

5 mins read In my research, I usually work with remote servers to run deep learning models inside machines more powerful than my […]

Python Scipy sparse matrices explained

8 mins read What is a Sparse Matrix? Imagine you have a two-dimensional data set with 10 rows and 10 columns such that […]

Improvements in Deep Q-Learning with Python code: Dueling Double DQN, Prioritized Experience Replay, and Fixed Q-targets

28 mins read Deep Q-Learning was introduced in 2014. Since then, a lot of improvements have been made. So, today we’ll see four […]

A complete tutorial on tmux in Linux

16 mins read What’s tmux? tmux authors describe it as a terminal multiplexer. Behind this fancy term hides a simple concept: Within one terminal […]

Review of important offline evaluation metrics for recommendation systems

28 mins read We are in an era of personalization. The user wants personalized content and businesses are capitalizing on the same. Recommendation […]

Python testing tutorial using pytest

18 mins read Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and […]

Probability Density Estimation: Maximum Likelihood Estimation (MLE), Maximum A Posteriori (MAP), and Bayesian inference

14 mins read Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP) estimation are methods of estimating parameters of statistical models. Despite a […]

Implicit Recommender Systems with Alternating Least Squares

13 mins read In today’s post, we will explain a certain algorithm for matrix factorization models for recommender systems which goes by the […]