Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Marine.py add main function; typos Mar 12, 2019
README.md initial commit Feb 7, 2019
predion_eval.cpp

README.md

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

You can’t perform that action at this time.