leoribeiro / struc2vec Goto Github PK
View Code? Open in Web Editor NEWThis repository provides a reference implementation of struc2vec.
License: MIT License
This repository provides a reference implementation of struc2vec.
License: MIT License
What license does this reference implemention fall under? MIT?
I tried to use the struc2vec to train on 1 million nodes with 24 threads,but no embeddings was generated after three days.Is there a solution?
Hi, thanks for your open-source code firstly. But, I have a question: I use t-sne to plot the embedded 128 dimensions vectors in 2D space, It's distribution seem not be similar as the paper with karate dataset figure, so I want to ask if you are using t-sne to visulization? thank you for your kindness!
Hi, can you provide the hyper-parameter to reproduce the performance of classification?
The current solution is with Python2. Is there any python3 version of codebase available?
Traceback (most recent call last):
File "src/main.py", line 128, in <module>
main(args)
File "src/main.py", line 121, in main
G = exec_struc2vec(args)
File "src/main.py", line 97, in exec_struc2vec
G = struc2vec.Graph(G, args.directed, args.workers, untilLayer = until_layer)
File "/Users/anton/Downloads/struc2vec-master/src/struc2vec.py", line 20, in __init__
self.G = g.gToDict()
File "/Users/anton/Downloads/struc2vec-master/src/graph.py", line 127, in gToDict
for k,v in self.iteritems():
AttributeError: 'Graph' object has no attribute 'iteritems'
I am feeding a new undirected graph dataset with (V=18059, E=286535). It comes up with
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/queues.py", line 268, in _feed
send(obj)
IOError: bad message length
I have read struc2vec slides, and I am confused with scaling quasi-linearly when the scale of datasets is larger than 1 million, can you give me simple explanation for me ?
Thanks a lot
http://www.land.ufrj.br/~leo/struc2vec-slides.pdf
Karate-mirrored.edgelist : what are two columns represented? Hope to get your answer,thx
What is the meaning of this label?
Thanks in advance!
Thank you for your code!
i use the file struc2vec/emb/barbell.emb provided by your code to draw the latent representations,but i can't get the result in your paper figure2(e)
Look forward to your answer and thanks again!
If struc2vec able to handle cases with node attributes/labels?
Or is it reasonable to incorporate node attributes/labels with struc2vec?
I work with some graphs that have some disconnected nodes. I believe that when I create the edges list, which contains only the connected part of the network, the algorithm outputs network representations for only the connected part of the network. Is there any way to include the disconnected nodes, or I should remove them from the network, completely?
Hello,I can not find emb.karate.emb data,whether you forget put it
The arguments args.weighted and args.unweighted are never passed in any module, and the default argument is unweighted = True. Do the weighted/unweighted arguments have any effect?
When i run the code with Cora dataset
,the following occurs:
/home/songzenghui/zee/struc2vec/src/algorithms_distances.py:541: RuntimeWarning: invalid value encountered in double_scalars e_list = [x / sum_w for x in e_list]
The dataset has 2708 nodes,5429 edges,and i ran python src/main.py --input graph/cora.edgelist --output emb/cora.embeddings --OPT1 True --OPT2 Ture --OPT3 True
Is the sum_w
too small so that the division is invalid?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.