thunlp / OpenNE

An Open-Source Package for Network Embedding (NE)
MIT License
1.68k stars 485 forks source link

Can I extract probabilities of co-occurences of node2vec #74

Closed LPioL closed 3 years ago

LPioL commented 5 years ago

Hello,

Is it possible using node2vec to extract the matrix of probability co-occurence ?

Thanks.

Bznkxs commented 4 years ago

Hello LPioL, node2vec is implemented by wrapping word2vec, which just iterates over the entire training corpus in multiple passes, never creating a co-occurrence matrix. You can extract co-occurrence by using the sentence created in random walk. Check out co-occurrence in the link above.

myrainbowandsky commented 4 years ago

they are totally the different thing.