Comments (2)
Yes, PB_test.txt contains future positive links for testing. They share the same node set. Test set can contain node ids that don't appear in train, since the adjacency matrix size is determined by the maximum of all train indices and test indices. See line 78,79 in "util_functions.py". In SEAL, links are predicted based on their local structure patterns. Thus, even if a test link is far away from the train nodes community, it is still predictable as long as its local neighborhood can be sampled.
For the testing file, it should only contain those links that you are sure they exist (the true links in the future). The negative links will be sampled from the network.
from seal.
Yes, PB_test.txt contains future positive links for testing. They share the same node set. Test set can contain node ids that don't appear in train, since the adjacency matrix size is determined by the maximum of all train indices and test indices. See line 78,79 in "util_functions.py". In SEAL, links are predicted based on their local structure patterns. Thus, even if a test link is far away from the train nodes community, it is still predictable as long as its local neighborhood can be sampled.
For the testing file, it should only contain those links that you are sure they exist (the true links in the future). The negative links will be sampled from the network.
I got it!
Thank you very much.
from seal.
Related Issues (20)
- 关于点信息矩阵X三部分:点结构标签、点嵌入、点属性 问题 HOT 3
- 关于论文中对比实验ENS的问题 HOT 2
- System crash during subgraph extraction step HOT 2
- 是否可以拓展到有向图的比较? HOT 2
- about the row_data and .mat files HOT 1
- about subgraph extraction HOT 1
- sampling negative links HOT 2
- 关于模型预测值 HOT 2
- Training on really large graphs HOT 2
- Questions about the contents in txt and mat files. HOT 4
- Error when trying to run my own datasets HOT 6
- Scores besides acc and auc HOT 3
- Command line argument for running facebook dataset HOT 2
- __init__() got an unexpected keyword argument 'size' HOT 1
- Access the nodes and edges from the subgraph HOT 2
- About node labeling HOT 1
- Bug during trying on a large graph HOT 1
- Node with same index HOT 4
- OSError: [Winerror 193] %1 is not an effective win32 application. HOT 2
- NameError: name 'cmd_args' is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seal.