While the formula looks a bit intimidating, in reality it is straightforward. What the equation says is that the similarity between two items, A and B, is equal to the size of the intersection of A and B divided by the union of A and B. Let’s use our grocery app to walk through a quick example of how it works. Let’s say they want to test the hypothesis that recommending products that are typically purchased together in the app will increase the average order size of each shopping trip. In order to make these recommendations effective, they need to calculate the likelihood that people who
...more
This highlight has been truncated due to consecutive passage length restrictions.