- Python 3
- numpy
- torch
Please run python Marine.py --help.
-
Edge File (all values should be integer type)
NodeCount RelationCount
U V R(edge from node U to node V with relation R)
... -
Attrubute File (with alpha > 0.0)
NodeCount Dimension
x0 x1 x2 ...(Node0)
x0 x1 x2 ...(Node1)
...
- node.txt & rela.txt & link.txt
EntityCount Dimension
x0 x1 x2 ...(Index0)
x0 x1 x2 ...(Index1)
...
Compile: g++ -std=c++11 -fopenmp predion_eval.cpp -o eval
Usage: see predion_eval.cpp around Line 40