make
- Results in
result.out
andplot.dat
python omniprop.py [graph filepath] [training filepath] [lambda (default 1.0)] > [result filepath]
python precision_at_p.py [result filepath] [test filepath] > [plot filepath]
- omniprop.py requires numpy/scipy
Make sure to start all node ids from 0.
[src node id] [dst node id]
- See sample data file
[node id] [label id]
- Make sure to list labeled nodes on top, and unlabeled nodes on bottom.
- For unlabeled nodes, let [label id] = -1.
- See sample data file
[node id] [label id]
- Make sure to list only test nodes.
- See sample data file
[node id] [inferred label id]
[precision@p] [p]