forked from RenskeDiep/Bachelor_Thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
martytom/NP_Thesis_Copy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository uses NodePiece (Galkin et. al, 2022). Not all experiment are used, only the link prediction experiment in folder lp_rp. Four new strategies are implemented, using Personalized PageRank. The anchor nodes are selected using the KGloVe (Cochez et. al., 2017) folder. For each knowledge graph, first create a co-occurrence matrix in the KGloVe folder, see the README in that folder. After this is done, run the cooccurrence_loader.py file with the co-occurrence matrix as input. This program should give you a new pickled file, containing all the nodes that NodePiece should pick. Then, in the NodePiece folder, change the path of the strategy used in nodepiece_tokenizer.py to the pickled file. Further instructions on how to run the NodePiece experiments can be found in the README of the NodePiece directory.
About
Finding a good set of anchors for NodePiece
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 51.1%
- C++ 48.1%
- Shell 0.8%