Git Product home page Git Product logo

graphsim's Introduction

graphsim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphsim's Issues

Similarity between Graphs

I want to know that does GraphSim work for the problem as described below:

I have graph G1 and G2 and I want to check how much they are similar structure wise (as like isomorphism property of graph.)

Memory Error Exception when running SimRank

Hi Chen,

thanks for GraphSim!

I used SimRank successfully on provided examples from the paper (university web graph, a bipartie graph of cake-bakers). However, when I try to run in on my graph which counts 144380 nodes and 223531 edges, I get the Memory Error Exception. The paper says they run the algorithm on 688,898 nodes 278,628 edges graph. Did you try your implementation on bigger graphs (real world graphs) than on provided examples?

Thanks,

Python 3 compatibility

I would like to see this package Python 3 compatible, so I made some changes. The most important change is the long->int in type decorators. At the moment this might reduce max iterations in Python 2 and I do not know serious problem is.

Examples now run with both Python 2 and Python 3. I hope this might help you.
Thanks

graphsim

I want to know how two graphs are structurally similar, instead of the content of edges and nodes. Irrespective of their node and edge similarity in terms of content. We required structural similarity.

Error in (local) TACSim_in_C.py

Hi Chen,

Thank you for making graphsim. I was wondering if i could use it without root access on a machine.
Therefore, I compiled libtacsim locally and modified TACSim_in_C.py to find the local libs.

However, when i run print(gs.tacsim_combined_in_C(G1, G2)) my program crashes

I am using python2.7.14, graphsim is installed in a virtual environment venv, and here is the trace, any tips?

Traceback (most recent call last): File "compare_graph.py", line 22, in <module> print(gs.tacsim_combined_in_C(G1, G2)) File "/home/shoaloak/src/git/funky-nodes/venv/lib/python2.7/site-packages/graphsim/iter/TACSim_in_C.py", line 180, in tacsim_combined_in_C As, At = node_edge_adjacency(G1) File "/home/shoaloak/src/git/funky-nodes/venv/lib/python2.7/site-packages/typedecorator/__init__.py", line 389, in wrapper return fn(*args, **kwargs) File "/home/shoaloak/src/git/funky-nodes/venv/lib/python2.7/site-packages/graphsim/iter/TACSim.py", line 195, in node_edge_adjacency node_index[nodes[i]] = i TypeError: unhashable type: 'dict'

Ubuntu installation

Greetings,

I've been trying to install graphsim on Ubuntu 16.04 but the main instructions don't seem to be for Ubuntu and I've tried several things but none work. I keep getting the error 'RuntimeError: Failed to build libtacsim'. I think I managed to install 'scons' but I am not sure since the reference command on this page isn't for Ubuntu...
Can I please get some directions on how to install graphsim on Ubuntu 16.04?

I used 'sudo apt-get install scons' and tried to install graphsim with 'sudo pip install -U graphsim' but I got that error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.