Artifact

matpotlib

Python Matplotlib Tip: Overlapping Curves and Multiple Axes

In STEM fields it is often required to communicate ideas using graphs or infographics. Many times the dimensionality of data will be higher and require clever hacks to represent so that the reader gets the idea quickly. There have been systematic studies on how to do data visualization effectively. For data scientists or machine learning …

Python Matplotlib Tip: Overlapping Curves and Multiple Axes Read More »

Bivariate Gaussian Distribution

Hacking the Bivariate Gaussian Distribution

In one of our earlier posts, we have seen how we can visually relate the parts of the one-dimensional Gaussian distribution equation. In this post, we will follow the same strategy to understand the terms that comes up with a Multivariable Gaussian distribution. We will focus on the Bivariate Gaussian distribution as distributions of higher-order …

Hacking the Bivariate Gaussian Distribution Read More »

minmax scaling

Visualizing MinMax Scaling

This article explains the minmax scaling operation using visual examples. Normalization of vectors, an array of values, signals is often used as a preprocessing step before many algorithms. For example, in machine learning, some types of algorithms are prone to different inherent scales of features. In such situations normalization is done to give the same …

Visualizing MinMax Scaling Read More »

TwoStateMDP

Coding a Simple Markov Decision Process

A Markov Decision Process (MDP) is a mathematical framework used to model decision-making situations where the outcome of a decision depends on both the current state of the system and the actions taken by the decision maker. In an MDP, the decision maker is represented as an agent, and the system is represented as a …

Coding a Simple Markov Decision Process Read More »

An Intuitive Explanation of Naive Bayes Classifier

Introduction In this post, let’s take a look at the intuition behind Naive Bayes Classifier used in machine learning. Naive Bayes classifier is one of the basic algorithms often encountered in machine learning applications. If linear regression was based on concepts from linear algebra and calculus, naive Bayes classifier mostly backed up by probability theory. …

An Intuitive Explanation of Naive Bayes Classifier Read More »

epsilong greedy algorithm rewards

Epsilon Greedy Algorithm in Bandit Problems

Introduction Bandit problems are the simplest possible reinforcement learning scenario. Here the bandit machine can have k arms and pulling each arm leaves the user a reward. One of the arms will be giving higher rewards in the long run and moreover this pattern could be changing over a time period. Think of the scenario …

Epsilon Greedy Algorithm in Bandit Problems Read More »