Comments (9)
if I want the node 2 vector ,how can i write code, is it that
model.wv.vectors[1]
from node2vec.
i have other question about the node.
If the graph structure is changing dynamically, how can you embed only the newly added nodes and not need to process the other nodes so as to save computation
from node2vec.
if I want the node 2 vector ,how can i write code, is it that
model.wv.vectors[1]
i do this, use model.wv.get_vector('2'), your code is amazing :)
from node2vec.
Hi, as stated in the docs, the Node2Vec.fit
method returns an instance of gensim.models.Word2Vec
, you can see in the documentation how to access vectors
But notice, it is stated in the README, all of your nodes will be strings after using Node2Vec.fit
, so you should call '2'
and not 2
from node2vec.
Thanks your repay, i can get the vector now with your helper.
I have a problem about dynamic graph .
that is the node in the graph will continue to add new nodes over time. Can I just do node2vec algorithm for the newly added node and its neighbor, and keep the other nodes unchanged
from node2vec.
Nope, node2vec algorithm cannot be incrementally updated...
from node2vec.
Thank you, i will try to read your code and maybe add this function to algorithm.
from node2vec.
Its not about the code, it's about the algorithm, the algorithm is not built for incremental learning
from node2vec.
Yes, your right.
I find a paper about incremental updated, maybe can combine into node2vec
here is paper: Inductive Representation Learning On Large Graphs
code:https://github.com/williamleif/GraphSAGE
from node2vec.
Related Issues (20)
- How can node2vec use GPU HOT 1
- too slow and stuck for some reason HOT 9
- reproducability HOT 2
- failing simple clustering of synthetic networks HOT 2
- Error in model creation node2vec HOT 1
- Cannot import Node2Vec HOT 5
- A faster implement HOT 1
- Train vs Inference methods HOT 6
- [Question] about directed graph and weight HOT 2
- There may be a small problem with the walking length. HOT 1
- Interpretation of weights HOT 2
- model save and loading examples HOT 2
- Are there any ways to initialize node vector using pretrained embeddings? HOT 1
- Crash when edges are not initialised with a weight attribute HOT 8
- can same temp directory be used for different graphs in for loop training? HOT 4
- _precompute_probabilities parallel execution HOT 2
- import error HOT 3
- segmentation fault HOT 5
- Error installing gensim in poetry env on mac m1 HOT 3
- How to set parameters for a collection small disconnected graphs HOT 2
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 node2vec.