Skip to content

obscure description regarding directed graph generation #80

@lamsumchat

Description

@lamsumchat

In the https://github.com/IBM/AMLSim/wiki/Data-Schema-for-Input-Parameters-and-Generated-Data-Set#input-parameter-files of Wiki, there is a paragraph saying: "
Degree Distribution List (degree.csv)
This CSV file has three columns with header names: Count, In-degree and Out-degree. Each CSV row indicates how many account vertices with certain in(out)-degrees should be generated.

Here is an example of degree.csv.

Count,In-degree,Out-degree
0,2,2
1,1,1
2,2,2
From this parameter file, the transaction graph generator generates a directed graph with five vertices (accounts) and five edges. Two of five vertices has no outgoing edges and two of five vertices has no incoming edges (these two vertices might be same)."
I found it hard to comprehend the author's design. why there are 5 vertices and 5 edges in total? It should be 0+1+2=3 I guess, and even so I still cannot find a graph conforming to the specification of degree.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions