Converting Transaction Logs to Downstream Analytics - IBM/AMLSim GitHub Wiki
Transaction log converter is a Python script to convert a raw log file from the simulator into a transaction list file for other applications such as Statistical Distribution Visualizer and GPML (Graph-Powered Machine Learning) process.
Requirements
- Python package
- NetworkX 1.11 (2.0 or later will not work)
How to run
python scripts/convert_logs.py [ConfJSON]
- ConfFile: Configuration JSON file (e.g.
conf.json)
Example:
python scripts/convert_logs.py conf.json
After running this script, the following converted files can be found at the outputs directory. See here for the schema of these files.
accounts.csv: Account listtx.csv: Transaction listalerts.csv: Alert list