Introduction
In the preceding chapter, we explored market basket analysis. Market basket analysis, as you hopefully recall, is an algorithm that seeks to understand the relationships between all the items and groups of items in transaction data. These relationships are then leveraged to help retailers optimize store layouts, more accurately order inventory, and adjust prices without shrinking the number of items in each transaction. We now change directions to explore hotspot modeling.
Let's consider an imaginary scenario: a new disease has begun spreading through numerous communities in the country that you live in and the government is trying to figure out how to confront this health emergency. Critical to any plan to confront this health emergency is epidemiological knowledge, including where the patients are located and how the disease is moving. The ability to locate and quantify problem areas (which are classically referred to as hotspots) can help health professionals...