Comments (4)
If u want to do training, I think u can add the node in the networkx.graph object before the training process. Else if u only want to do inference, u need to additionally enclose the subgraph.
from seal.
In your case, both subgraph and embedding features are not applicable to new nodes (the enclosing subgraph is empty with only the target nodes; while embeddings also do not generalize to new nodes). The only usable feature is explicit attribute. In this extreme cold-start setting, SEAL reduces to only predict links based on explicit features of two nodes.
from seal.
So if I understood SEAL works only on static graphs? meaning, it can only predict the links in the network I trained on?
And if I want to predict the links of new added nodes (after training) based only on the explicit features,how to process?
Thank you in advance
from seal.
No. SEAL is an inductive method. After training SEAL on a given network, you can apply it to other networks, since the learned graph structure features that work on one network might also work on others. However, SEAL is not designed for predicting new added nodes. New added nodes have not established connections with existing nodes, thus SEAL cannot learn any useful information from the enclosing subgraph and node embeddings. Only node attributes are useful.
If you want to predict the links of new added nodes based only on the explicit features, I would suggest just training a simple classifier (logistic regression, MLP etc.) on the two explicit features. Neither embedding-based methods nor SEAL can deal with such extreme cold start cases.
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.