-
Notifications
You must be signed in to change notification settings - Fork 93
Program: Transaction Network Generator
hkanezashi edited this page Apr 25, 2019
·
11 revisions
Transaction network generator is a Python script to generate a network topology for the simulator.
- Python package
- NetworkX 1.10 (2.0 or later will not work)
Please find the following CSV files under paramFiles directory.
The description of the data schema is here.
-
accounts.csv: Account parameter file -
alertPatterns.csv: Alert (fraud) transaction pattern parameter file -
degree.csv: Degree distribution parameter file -
transactionType.csv: Transaction distribution parameter file
-
prop.ini: Property file
python scripts/transaction_graph_generator.py [PropFile] [DegreeFile] [TransactionTypeFile] [AlertFile]- PropFile: Configuration file path (
prop.ini) of the transaction graph generator - DegreeFile: Degree distribution parameter file
- TransactionTypeFile: Transaction type parameter file
- AlertFile: Alert parameter file
Example:
python scripts/transaction_relationship_generator.py prop.ini paramFiles/deg1K.csv paramFiles/tx_type.csv paramFiles/alerts.csv