Question: Problem 4 (40points): Suppose you are working for a financial institution and you are asked to implement a fraud detection system. You plan to use

Problem 4 (40points): Suppose you are working for a financial institution and you are asked to implement a fraud detection system. You plan to use the following information When the card holder is travelling abroad, fraudulent transactions are more likely since tourists are prime targets for thieves. More precisely, 1% of transactions are fraudulent when the card holder is traveling, where as only 0.4% of the transactions are fraudulent when she is not traveling. On average, 5% of all transactions happen while the card holder is travelling. If a transaction is fraudulent, then the likelihood of a foreign purchase increases, unless the card holder happens to be traveling. More precisely, when the card holder is not traveling, 10% of the fraudulent transactions are foreign purchases where as only 1% of the legitimate transactions are foreign purchases. On the other hand, when the card holder is traveling, then 90% of the transactions are foreign purchases regardless of the legitimacy of the transactions. Purchases made over the internet are more likely to be fraudulent. This is especially true for card holders who don't own any computer. Currently, 75% of the population owns a computer or smart phone and for those card holders 1% of their legitimate transactions are done over the internet, however this percentage increases to 2% for fraudulent transactions. For those who don't own any computer or smart phone, a mere 0.1% of their legitimate transactions is done over the internet, but that number increases to 1.1% for fraudulent transactions. Unfortunately, the credit card company doesn't know whether a card holder owns a computer or smart phone, however it can usually guess by verifying whether any of the recent transactions involve the purchase of computer related accessories. In any given week, 10% of those who own a computer or smart phone purchase (with their credit card) at least one computer related item as opposed to just 0.1% of those who don't own any computer or smart phone a) Construct a Bayes Network to identify fraudulent transactions What to hand in: Show the graph defining the network and the Conditional Probability Tables associated with each node in the graph. This network should encode the information stated above. Your network should contain exactly six nodes, corresponding to the following binary random variables OC : card holder owns a computer or smart phone. Fraud: current transaction is fraudulent. Trav : card holder is currently travelling FP : current transaction is a foreign purchase. IP : current purchase is an internet purchase CRP : a computer related purchase was made in the past week. The arcs defining your Network should accurately capture the probabilistic dependencies between these variable b) What is the prior probability (i.e., before we search for previous computer related purchases and before we verify whether it is a foreign and/or an internet purchase) that the current transaction is a fraud? What is the probability that the current transaction is a fraud once we have verified that it is a foreign transaction, but not an internet purchase and that the card holder purchased computer related accessories in the past week? What to hand in: Indicate the two queries (i.e., Pr(variableslevidence)) you used to compute those two probabil- ities. Show each step of the calculation Problem 4 (40points): Suppose you are working for a financial institution and you are asked to implement a fraud detection system. You plan to use the following information When the card holder is travelling abroad, fraudulent transactions are more likely since tourists are prime targets for thieves. More precisely, 1% of transactions are fraudulent when the card holder is traveling, where as only 0.4% of the transactions are fraudulent when she is not traveling. On average, 5% of all transactions happen while the card holder is travelling. If a transaction is fraudulent, then the likelihood of a foreign purchase increases, unless the card holder happens to be traveling. More precisely, when the card holder is not traveling, 10% of the fraudulent transactions are foreign purchases where as only 1% of the legitimate transactions are foreign purchases. On the other hand, when the card holder is traveling, then 90% of the transactions are foreign purchases regardless of the legitimacy of the transactions. Purchases made over the internet are more likely to be fraudulent. This is especially true for card holders who don't own any computer. Currently, 75% of the population owns a computer or smart phone and for those card holders 1% of their legitimate transactions are done over the internet, however this percentage increases to 2% for fraudulent transactions. For those who don't own any computer or smart phone, a mere 0.1% of their legitimate transactions is done over the internet, but that number increases to 1.1% for fraudulent transactions. Unfortunately, the credit card company doesn't know whether a card holder owns a computer or smart phone, however it can usually guess by verifying whether any of the recent transactions involve the purchase of computer related accessories. In any given week, 10% of those who own a computer or smart phone purchase (with their credit card) at least one computer related item as opposed to just 0.1% of those who don't own any computer or smart phone a) Construct a Bayes Network to identify fraudulent transactions What to hand in: Show the graph defining the network and the Conditional Probability Tables associated with each node in the graph. This network should encode the information stated above. Your network should contain exactly six nodes, corresponding to the following binary random variables OC : card holder owns a computer or smart phone. Fraud: current transaction is fraudulent. Trav : card holder is currently travelling FP : current transaction is a foreign purchase. IP : current purchase is an internet purchase CRP : a computer related purchase was made in the past week. The arcs defining your Network should accurately capture the probabilistic dependencies between these variable b) What is the prior probability (i.e., before we search for previous computer related purchases and before we verify whether it is a foreign and/or an internet purchase) that the current transaction is a fraud? What is the probability that the current transaction is a fraud once we have verified that it is a foreign transaction, but not an internet purchase and that the card holder purchased computer related accessories in the past week? What to hand in: Indicate the two queries (i.e., Pr(variableslevidence)) you used to compute those two probabil- ities. Show each step of the calculation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
