updated feauture name to avoid misunderstandings
Browse files
utils.py
CHANGED
@@ -17,7 +17,7 @@ COL_NAMES = ['Transaction date',
|
|
17 |
'Recipient\'s new balance',
|
18 |
"Sender exactly credited",
|
19 |
"Receiver exactly credited",
|
20 |
-
'
|
21 |
'Frequent receiver',
|
22 |
'Merchant receiver',
|
23 |
'Sender ID',
|
@@ -25,7 +25,7 @@ COL_NAMES = ['Transaction date',
|
|
25 |
|
26 |
feature_texts = {0: "Date of transaction: ", 1: "Amount transferred: ", 2: "Initial balance of sender: ", 3: "New balance of sender: ",
|
27 |
4: "Initial balance of recipient: ", 5: "New balance of recipient: ", 6: "Sender's balance was exactly credited: ",
|
28 |
-
7: "Receiver's balance was exactly credited: ", 8: "
|
29 |
13: "Transaction type is Cash out", 14: "Transaction type is Transfer", 15: "Transaction type is Payment", 16: "Transaction type is Cash in", 17: "Transaction type is Debit"}
|
30 |
|
31 |
CATEGORIES = np.array(['CASH_OUT', 'TRANSFER', 'PAYMENT', 'CASH_IN', 'DEBIT'])
|
|
|
17 |
'Recipient\'s new balance',
|
18 |
"Sender exactly credited",
|
19 |
"Receiver exactly credited",
|
20 |
+
'Large amount',
|
21 |
'Frequent receiver',
|
22 |
'Merchant receiver',
|
23 |
'Sender ID',
|
|
|
25 |
|
26 |
feature_texts = {0: "Date of transaction: ", 1: "Amount transferred: ", 2: "Initial balance of sender: ", 3: "New balance of sender: ",
|
27 |
4: "Initial balance of recipient: ", 5: "New balance of recipient: ", 6: "Sender's balance was exactly credited: ",
|
28 |
+
7: "Receiver's balance was exactly credited: ", 8: "Large amount: ", 9: "Frequent receiver of transactions: ", 10: "Receiver is merchant: ", 11: "Sender ID: ", 12: "Receiver ID: ",
|
29 |
13: "Transaction type is Cash out", 14: "Transaction type is Transfer", 15: "Transaction type is Payment", 16: "Transaction type is Cash in", 17: "Transaction type is Debit"}
|
30 |
|
31 |
CATEGORIES = np.array(['CASH_OUT', 'TRANSFER', 'PAYMENT', 'CASH_IN', 'DEBIT'])
|