Views
No views yet
jars/ directory: See also jars/README.md)
pip3 install -r requirements.txt)
bin/ folder has been renamed to target/classes/conf.json.1{
2//...
3 "input": {
4 "directory": "paramFiles/1K", // Parameter directory
5 "schema": "schema.json", // Configuration file of output CSV schema
6 "accounts": "accounts.csv", // Account list parameter file
7 "alert_patterns": "alertPatterns.csv", // Alert list parameter file
8 "degree": "degree.csv", // Degree sequence parameter file
9 "transaction_type": "transactionType.csv", // Transaction type list file
10 "is_aggregated_accounts": true // Whether the account list represents aggregated (true) or raw (false) accounts
11 },
12//...
13}1cd /path/to/AMLSim
2python3 scripts/transaction_graph_generator.py conf.jsonconf.json.1{
2 "general": {
3 "random_seed": 0, // Seed of random number
4 "simulation_name": "sample", // Simulation name (identifier)
5 "total_steps": 720, // Total simulation steps
6 "base_date": "2017-01-01" // The date corresponds to the step 0 (the beginning date of this simulation)
7 },
8//...
9}1sh scripts/build_AMLSim.sh
2sh scripts/run_AMLSim.sh conf.jsonbrew install maven
If you already have a java installed, you can run brew uninstall --ignore-dependencies openjdk because brew installs that along with maven as a dependency.jars/ folder and then install it using the command shown below. If you do not use Maven, you will have to place all the dependency jar files listed above as dependencies in the jars/ folder.mvn install:install-file \
-Dfile=jars/mason.20.jar \
-DgroupId=mason \
-DartifactId=mason \
-Dversion=20 \
-Dpackaging=jar \
-DgeneratePom=true1sh scripts/build_AMLSim.sh
2sh scripts/run_AMLSim.sh conf.jsonconf.json.1{
2//...
3"output": {
4 "directory": "outputs", // Output directory
5 "accounts": "accounts.csv", // Account list CSV
6 "transactions": "transactions.csv", // All transaction list CSV
7 "cash_transactions": "cash_tx.csv", // Cash transaction list CSV
8 "alert_members": "alert_accounts.csv", // Alerted account list CSV
9 "alert_transactions": "alert_transactions.csv", // Alerted transaction list CSV
10 "sar_accounts": "sar_accounts.csv", // SAR account list CSV
11 "party_individuals": "individuals-bulkload.csv",
12 "party_organizations": "organizations-bulkload.csv",
13 "account_mapping": "accountMapping.csv",
14 "resolved_entities": "resolvedentities.csv",
15 "transaction_log": "tx_log.csv",
16 "counter_log": "tx_count.csv",
17 "diameter_log": "diameter.csv"
18 },
19//...
20}python3 scripts/convert_logs.py conf.jsonpython3 scripts/visualize/plot_distributions.py conf.jsonpython3 scripts/validation/validate_alerts.py conf.jsonoutputs directory and a temporal directorysh scripts/clean_logs.sh