Understanding Fourier Transform in images

11 mins read Table of Contents cv2 and mss basic Image Fourier Transform – Introduction and Basics Image Fourier Transform – Fourier Transform […]

Simple Factory and Factory Method design patterns

2 mins read Simple Factory: Definition: Creates objects without exposing the instantiation logic to the client. Refers to the newly created object through […]

Builder design pattern explained

14 mins read Intent Builder is a creational design pattern that lets you construct complex objects step by step. The pattern allows you to […]

Deep dive to super() method in Python for single and multiple inheritance

15 mins read While Python isn’t purely an object-oriented language, it’s flexible enough and powerful enough to allow you to build your applications […]

Understanding __new__ and __init__ magic methods in Python

4 mins read The purpose of this post is to discuss __new__ and __init__ methods in Python. The __new__ and __init__ methods behave differently between themselves and between the old-style […]

Python __new__ magic method explained

10 mins read Python is an Object-oriented language, everything is an object in python. Python is having a special type of method called […]

The Command Design Pattern

16 mins read Intent Command is a behavioral design pattern that turns a request into a stand-alone object that contains all information about the […]

Observer Design pattern

14 mins read Intent Observer is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events […]

Strategy Design Pattern

9 mins read What Actually a Strategy is? Let’s start with a formal definition then we’ll break it down. The definition taken straight […]

Understanding use cases of Interfaces and Abstract Classes

5 mins read Interface We know that an interface is defined by the interface keyword and all methods are abstract. All methods declared […]

SOLID Principles: simple and easy explanation

9 mins read SOLID Principles is a coding standard that all developers should have a clear concept for developing software in a proper […]

A tutorial on Motion Estimation with Optical Flow with Python Implementation

26 mins read Recent breakthroughs in computer vision research have allowed machines to perceive their surrounding world through techniques such as object detection for detecting […]

Upper Confidence Bound (UCB) Algorithm Explained with Python code

7 mins read In this tutorial, I will explain to you the application of the Upper Confidence Bound(UCB) algorithm to solve the Multi […]

Difference between model-based and model-free reinforcement learning

3 mins read To answer this question, let’s revisit the components of an MDP, the most typical decision-making framework for RL. An MDP […]

Reinforcement Q-Learning from Scratch in Python with OpenAI Gym

24 mins read Most of you have probably heard of AI learning to play computer games on their own, a very popular example […]

Understand Q-Learning in Reinforcement Learning with a numerical example and Python implementation

14 mins read This tutorial introduces the concept of Q-learning through a simple but comprehensive numerical example.  The example describes an agent which […]

What is q-learning?

5 mins read Introduction One of my favorite algorithms that I learned while taking a reinforcement learning course was q-learning. Probably because it […]

Understanding Metaclasses in Python

31 mins read At first word, Metaprogramming seems a very funky and alien thing but if you have ever worked with decorators or metaclasses, you were […]

Everything you should know about Python Decorators – A complete tutorial on Python Decorators

49 mins read A decorator takes in a function, adds some functionality, and returns it. In this article, you will learn how you […]

How to split data in decision tree nodes?

17 mins read The problem: We need to recommend apps to users according to what they’re likely to download Recommendation systems are one […]