Created
April 24, 2018 22:58
-
-
Save llSourcell/53cf99ed89ebf7b410169c4170d3d004 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Rule based approach | |
| ## pseudocode | |
| def traditional_fraud_detection(user_purchase_transaction): | |
| purchase = user_purchase_transaction | |
| if (purchase.location == Zucks_office) & (purchase.amount > 1000) | |
| return false | |
| else | |
| return true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment