Skip to content

ntumslab/MARINE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Marine

dataset

Requirements

  • Python 3
  • numpy
  • torch

Usage

Please run python Marine.py --help.

Input

  • 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)
    ...

Output

  • node.txt & rela.txt & link.txt

EntityCount Dimension
x0 x1 x2 ... (Index0)
x0 x1 x2 ... (Index1)
...

Link Prediction Evaluation

Compile: g++ -std=c++11 -fopenmp predion_eval.cpp -o eval
Usage: see predion_eval.cpp around Line 40

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •