Alabama Senate Race Results

Thanksgiving Mobile Schedule

Three years ago I made a Thanksgiving schedule to help my family and I prepare Thanksgiving dinner. This new version is built for our mobile phones. The data is hosted in Google sheets. You can easily replicate for yourself by downloading the workbook, connect to your own updated file (mimic my structure to make in pain-free), and publish to Tableau Public. Have a great Thanksgiving everyone.

Campaign Bumper Sticker Analysis

This analysis compares Presidential bumper sticker font sizes by candidates since 1996. What do bumper stickers say about a candidate, their party or their chance of success? Enjoy?

Naive Bayes Classifier in Tableau (no R/Py)

Building machine learning algorithms or predictive models in Tableau requires R or Python integration or to push the model into your ETL process. This can be difficult for some organizations who don't have this capability or want to avoid stale models. This post details how to build a Naive Bayes classification model entirely in Tableau that can scale as you feed it new data. 

Naive Bayes is a probabilistic classification model based on Bayes theorem. It can be used to predict the probability of an outcome based on multiple independent conditions. It is incredibly flexible, extensible, and simple. Naive Bayes classification models can be used to detect fraud, predict attrition, or diagnose medical conditions. Really it can potentially be used to determine the probability of any event occurring

The example detailed below is a proof of concept using Titanic passenger training data from a Kaggle challenge. Below is a detailed tutorial on how to build a model in Tableau and how to apply to new data.

To build a Naive Bayes classification model in Tableau you need to create A LOT of calculated fields (nearly 30 for this example), train your model, and then blend it with a new data set in order to predict outcomes. But once this is initially setup you can implement the model in your Tableau Server environment, feed the model new data, and produce new predictions automatically. You can produce a probability for every new data point fed into your database; assuming the input variables don't change significantly. 

How To Create a Gauge Chart in Tableau (UPDATED)

A while back I wrote a post on how to create a gauge chart in Tableau. At the time I felt bad about writing it because I thought it was a bad chart. I have since come around on the gauge. See my previous post on bullets vs gauges for mobile dashboards. And this created some convo on the Twitters about the merits of the gauge. But I think it's an unfairly maligned chart type.
So I think this should be an available chart type to create simply in Tableau. But the old approach I outlined required too much data re-shaping. So at last year's Tableau Conference I presented a new way of creating a gauge that required no data re-shaping. Just a bit of math. Outlined below are updated steps for creating a gauge in Tableau.

div#ContactForm1 { display: none !important; }