-
Notifications
You must be signed in to change notification settings - Fork 82
Converting Transaction Logs to Downstream Analytics
hkanezashi edited this page Nov 7, 2019
·
3 revisions
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.
- Python package
- NetworkX 1.11 (2.0 or later will not work)
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 list -
tx.csv
: Transaction list -
alerts.csv
: Alert list