Long after I learned how to calculate the geometric and harmonic means, I was still unclear about what exactly they were doing for me. I ended up clarifying this to myself by generating a series of visualizations which I’ll show you in this post.
First, a quick review of the algorithms themselves.
The arithmetic mean is what people are usually talking about when they say “average”. By far the most widely used, it’s simple to calculate. You sum the parts, then divide by how many there were.
The geometric mean has the same procedure but different operations. You multiply the…
A few months ago I was hunting for a machine learning side project when I bumped into the Federal Contractor Misconduct Database. Curated by the nonprofit Project on Government Oversight (POGO), each entry in the database represents an incident in which a company working for the federal government was accused of violating a law or regulation. POGO publishes the database publicly to discourage federal agencies from signing further deals with offenders.
A sample entry:
Instance Inadequate Number of Anesthesiologists in Texas