Crate datasynth_graph

Crate datasynth_graph 

Source
Expand description

§synth-graph

Graph/network export library for synthetic accounting data.

This crate provides:

  • Graph models for representing accounting data as networks
  • Builders for creating transaction, approval, and entity graphs
  • Exporters for PyTorch Geometric, Neo4j, and DGL formats
  • ML utilities for feature extraction and dataset splitting

§Graph Types

  • Transaction Network: Accounts/entities as nodes, transactions as edges
  • Approval Network: Users as nodes, approvals as edges (for SoD detection)
  • Entity Relationship: Legal entities with ownership edges

§Export Formats

  • PyTorch Geometric: node_features.pt, edge_index.pt, edge_attr.pt
  • Neo4j: CSV files with Cypher import scripts
  • DGL: Compatible format for Deep Graph Library

Re-exports§

pub use builders::*;
pub use exporters::*;
pub use ml::*;
pub use models::*;

Modules§

builders
Graph builders for constructing different graph types from accounting data.
exporters
Graph exporters for various ML frameworks and databases.
ml
Machine learning utilities for graph neural networks.
models
Graph models for representing accounting data as networks.