The greatest value of a picture is when it forces us to notice what we never expected to see. --John Tukey

# Exploring Clustering Algorithms Using Scikit-learn

In this post we're going to look at applying a class of simple unsupervised machine learning algorithms called clustering. Specifically we're going to be looking at two types of clustering apporaches called Hierarchical Agglomerative Clustering and K-Means Clustering using the Scikit-learn framework in Python. The dataset that we're going to analyze contains demand data for a large number of Part Numbers belonging to several product families. The intent is to see how we can use the nature of the demand as a feature to help us create product families.

Continue reading# Deterministic Optimization In PuLP

In this post, I explore the topic of linear programming, a very powerful deterministic optimization technique that is used for maximizing or minimizing an objective function that is constrained by a set of linear equations to form a feasible region. This post isn't going to delve into the basics of linear programming, rather, I wanted to show you how you can use Python and in specific, the PuLP modeler to formulate and solve a real-world optimization problem for scheduling jobs. The heatmaps below visualize the problem solution.

Continue reading# Dijkstra's Algorithm In Python

This short post is going to be about my take on implementing Dijkstra's Algorithm in Python. In my quest to learn about more tools in the Supply Chain Analytics toolkit, I've been taking this online course offered by MIT's Centre For Logistics And Transportation. This is where I was first introduced to this algorithm. It's often used to find the shortest distance between any two nodes in a network.

Continue reading# Getting And Plotting Cryptocurrency Data

Cryptocurrencies like Bitcoin and Ethereum to name a few are effortlessly making the headlines every week thanks to the meteoric rise in their prices. Out of sheer curiosity to learn more about these currencies and the marketplaces where they are traded, in this first of many posts, I write about using API's to collect the data you need and then to visualize it.

Continue reading# Interactive Plotting With Bokeh

I've been exploring the various visualization packages available for Python and one that caught my eye was Bokeh, mainly for it's simplicity of use. This post is all about how to quickly setup an interactive 'web-ready' visualization and the inspiration for this comes from the popular TED talk that Hans Rosling delivered (link below) and several blogs that have attempted to recreate his work.

Continue reading