TITLE: How did Target figure out a teen girl was pregnant before her father did?
QUESTION [6 upvotes]: First of all I do not have a mathematics degree only a B.S. in finance so please take that into account when writing an answer. Generally what type of mathematics is involved here? And specifically what statistical formulas can be used in a scenario like this? 
Recently Target was able to predict that a teen girl was pregnant by analyzing the items she had purchased, and sent her the appropriate coupons for her current condition. I would like to know broadly how were they able to do this, and specifically what types of mathematical formulas they used/ can be used to do this. This link will describe the specific situation.

REPLY [2 votes]: Target Inc's data science team developed a customer loyalty system using a machine learning technique called Bayesian classification network that represent conditional dependencies against sets of random variables. In this case Target developed a strategy to understand customer behaviour and shopping habits and encourage customers to try products similar to their usual brand purchases. Target's CRM data warehouse contain customer engagement key figures with a brand dimension are fed to Target's Customer Loyalty system to answer for the best method to communicate with customers for brand experiences. Target's CL system was able to mine the teenager's shopping baskets and segmented her as a potential pregnant mother, therefore sending her baby coupons which is her preferred communication method. This ML technique is also used in Google Mail to filter out spam mail.