From f4a4d2dd6643ce6272fd71b63ff704c07cedd891 Mon Sep 17 00:00:00 2001 From: TheColdIce Date: Tue, 28 Nov 2023 10:38:27 +0000 Subject: [PATCH] TCI --- AMLsim/paramFiles/simulation1/conf.json | 32 ++++++++++++------------- README.md | 9 +++++-- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/AMLsim/paramFiles/simulation1/conf.json b/AMLsim/paramFiles/simulation1/conf.json index e04d019e..c7695b53 100644 --- a/AMLsim/paramFiles/simulation1/conf.json +++ b/AMLsim/paramFiles/simulation1/conf.json @@ -1,38 +1,38 @@ { "general": { "random_seed": 0, - "simulation_name": "10K_accts", - "total_steps": 170 + "simulation_name": "simulation1", + "total_steps": 86 }, "default": { "min_amount": 1, "max_amount": 150000, "mean_amount": 637, - "std_amount": 3000, + "std_amount": 1000, "mean_amount_sar": 2000, - "std_amount_sar": 3000, - "prob_income": 0.0, - "mean_income": 0.0, - "std_income": 0.0, - "prob_income_sar": 0.0, - "mean_income_sar": 0.0, - "std_income_sar": 0.0, + "std_amount_sar": 1000, + "prob_income": 0.05, + "mean_income": 500.0, + "std_income": 1000.0, + "prob_income_sar": 0.05, + "mean_income_sar": 500.0, + "std_income_sar": 1000.0, "mean_outcome": 200.0, "std_outcome": 500.0, - "mean_outcome_sar": 0.0, - "std_outcome_sar": 0.0, + "mean_outcome_sar": 200.0, + "std_outcome_sar": 500.0, "mean_phone_change_frequency": 1460, "std_phone_change_frequency": 365, "mean_phone_change_frequency_sar": 365, "std_phone_change_frequency_sar": 182, "mean_bank_change_frequency": 1460, - "std_bank_change_frequency": 1, - "mean_bank_change_frequency_sar": 1460, - "std_bank_change_frequency_sar": 1, + "std_bank_change_frequency": 365, + "mean_bank_change_frequency_sar": 365, + "std_bank_change_frequency_sar": 182, "margin_ratio": 0.1 }, "input": { - "directory": "paramFiles/10K_accts", + "directory": "paramFiles/simulation1", "schema": "schema.json", "accounts": "accounts.csv", "alert_patterns": "alertPatterns.csv", diff --git a/README.md b/README.md index 07bfd060..c1663fa0 100644 --- a/README.md +++ b/README.md @@ -153,8 +153,13 @@ The conf.json file contains parameters for the generel behaviour of the accounts The margin a SAR account takes when passing money through it. ### account.csv - -akjsbcak +The accounts.csv file contains the initial conditions for the accounts. It has the following columns: +* **count**: (int) The number of accounts to generate. +* **min_balance**: (int) The minimum inital balance of the accounts. +* **max_balance**: (int) The maximum inital balance of the accounts. +* **country**: (string) The country of the accounts. +* **business_type**: (string) The type of business of the accounts, OBS: currently only "I" is supported. +* **bank**: (string) The bank of the accounts. Can be left blank. ### normalModels.csv