Blog

  • US Economic Outlook 2025

    With the 2024 election in the rear view mirror, we have a better picture of what policy for the next few years is going to look like. As such, we have a better idea on what to expect from the US economy over the next few years. That has largely colored my analysis this year.…

  • Deep Learning Based Recommendation Engines using Keras

    One thing that I have been thinking a lot about since I wrote my chapter on matrix factorization methods, and since I am currently writing a chapter on graph theory is on the idea of a recommendation engine. (If you want to get the book free as I write it click here) They have become…

  • Using Networkx in Python to Find the Best Team Via a Directed Graph

    Yep, we’re going there. Which football team is the best? Well, ask any fan and they are going to tell you that it is their personal favorite. But we are data scientists. Surely, we can do better! And of course, we can. That’s why in this post we will be learning how to use Networkx…

  • Introduction to Principal Components Analysis

    Principal components analysis is all about rotating data. That is all that it does. I know that sounds simple but the algorithm itself is designed to find the best rotation such that most of the variation lies along one axis and the rest of the variation lies along another axis that is perpendicular to the…

  • Bayes’ Rule and Combining Data From Different Polls

    In my last blog post, I asked the question, “Can Mia Love hold her congressional seat?” And based off of a single poll, the answer was grim for Mia Love, there is only a one in five shot that she’ll be able to pull off the win. Now, I don’t want to be a naysayer…

  • Can Mia Love Hold Her Seat?

    So it is election time again, and by and large I ignore politics. I just try to stay out of it, not that I don’t care, but because I don’t want to be seen as being overtly campaigning for one person or another. For context, I live in Utah’s 4th congressional district. My current representative…

  • How to Hire My First Data Scientist

    Usually, I write a tutorial for other data scientists, or individuals that want to become data scientists. Today, I wanted to write a tutorial for managers that have never hired a data scientist before. Hopefully, my data scientist friends will find value in this tutorial for managers just as informative as they would from learning…

  • Reverse Image Lookup Out Of The Box

    What is a reverse image search? It is where you give me an image and I find a bunch of images that look like the one that you gave me. So, I thought that I would give that a quick try. But I am out of time to train one from scratch. So I decided…

  • Learning About Fashion With A Convolutional Neural Network

    So for the past week or so I have been working on a model, a convolutional neural network to participate in a kaggle competition. I have been developing it on google’s colab project. See my last post to get an idea about what google colab is all about. Anyway, this is a fashion style prediction…

  • I Fell In Love With Google Colab

    So forgive my kind of sporadic posting, I’ve been trying to keep to at least a biweekly schedule since I am living with a newborn. The whole new baby thing makes writing posts for this blog really tough. So since it is super late and I need to get some sleep soon, I wanted to…

  • March Madness Predicted Upsets 2018

    If you have read my blog since last year you know that back in August I put together my ideas for an algorithm which would predict the outcome of the March Madness tournament. Well, Selection Sunday came this week and I’ve been putting together my brackets using it. So the question on everyone’s mind is…