SBabu commited on
Commit
57c16cd
·
verified ·
1 Parent(s): 4f1aaef

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ task_categories:
4
+ - tabular-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - '#BankingData'
9
+ - '#Anti-MoneyLaunderingData'
10
+ - '#AnamolyDetectionData'
11
+ size_categories:
12
+ - 1K<n<10K
13
+ ---
14
+
15
+ # Banking Data
16
+
17
+ This is a banking customers, accounts and transaction dataset that can be used for any testing any banking use case such as Anti Money Launder (AML) compliance
18
+
19
+ ## Dataset Details
20
+ The bank is assumed to be blended bank (good mix of retail and corporate customers) based in the US. The code is parameterized to control the customer/account/transaction characteristics and volume
21
+
22
+ - Define and prepare master data format, seeded values and the risk levels of the seeded values (manually prepared)
23
+ - Define the format for the customer, account and transaction data
24
+ - Define exchange rate for the multi-currency transactions
25
+ - Define the key thresholds and conditions
26
+ - number of customers, accounts, transactions needed
27
+ - Risk thresholds: To control the high/medium/low risk composition of customers and transactions
28
+ - Allowed combinations for ‘product-transaction type’, ‘channel-transaction type’
29
+ - Transaction type for Funds Transfer International
30
+ - Currency Threshold: To control the composition of currency of the transactions
31
+
32
+ Master data used – Business of the customer (Business Code), Geography, Customer Type, Product, Transaction Channel, Transaction Type and Currency. These master data is prepared manually and each of the values for these master data is mapped to indicate the risk level. For HR-CP scenario all these master data is used except Transaction Type and Customer Type which are useful if the scope is expanded to cover other AML scenarios
33
+
34
+ Transaction data – Customer, Account and Transaction data are prepared synthetically using python scripts and Faker library. Effort is taken to ensure the transaction data reflects the production data to the extent possible with (a) volume thresholds based on currency, risk level (b) Right ratio of customers to accounts to transactions (c) Dependency between product-transaction type, channel-transaction types, currency-transaction types
35
+
36
+ A total of 400 customers, 1000 accounts and 10000 transactions are generated synthetically with a transaction date spanning around 15 days.
37
+
38
+ I have used this in an AI model developed for AML compliance and the details are in the Models section <<link>>
39
+
40
+ ### Files
41
+ - BankingData-SyntheticData.ipynb – This file Colab notebook containing the code for generating customer, account and transaction data as mentioned above
42
+ - Input Files
43
+ - MasterData.xlsx, Conditions.xlsx - Two master data files which are input to the synthetic data generation
44
+ - Output Files
45
+ - customers.csv - has customer data for 400 customers
46
+ - accounts.csv - has customer data for 1000 accounts
47
+ - transactions.csv – has transaction details for 10000 transactions over 14 transaction days
48
+ - transactiionFeatures.csv - transaction file enriched with more features like counterparty business code, PEP flag etc which are needed for further analysis / modelling of transaction data
49
+
50
+