Giter Club home page Giter Club logo

Comments (4)

saibalmars avatar saibalmars commented on May 27, 2024

Hi, can you share the graph in gist or Pastebin so I can give it a try?
The only cora.cites graph I can find on the Internet is with 2708 node and 5278 edges which runs no problem on my test.

from graphriccicurvature.

SENLIER avatar SENLIER commented on May 27, 2024

Thanks,the datasets can be find in http://networkrepository.com/citeseer.php and http://networkrepository.com/cora.php The website has a lot of graph structure data.

Emmmm,I try cora.cites too,the following info Is right
Name: Type: Graph Number of nodes: 2708 Number of edges: 5278 Average degree: 3.8981
And it raise the totally same error
IndexError: list index out of range

Then I use citeseer.cites
Name: Type: Graph Number of nodes: 3327 Number of edges: 4676 Average degree: 2.8109
It raise a new error
AssertionError: Self loop is not allowed.
But as a citation network, how can the nodes in the graph have self reference?

Can you try the above dataset?If everything goes well, would you please let me know your list of dependent package versions( e.p. numpy)?

from graphriccicurvature.

saibalmars avatar saibalmars commented on May 27, 2024

Hi, Senlier

Can you try that on 0.4.5 to see if it solve your problem? It seems that there's a bug in 0.4.4. You can update it by typing pip install --upgrade GraphRicciCurvature to update to the latest 0.4.5, sorry for the inconvenience, and thanks for pointing it out.

from graphriccicurvature.

SENLIER avatar SENLIER commented on May 27, 2024

Thanks for your advice. By upgrading package, the Cora dataset runs successfully, but the citeseer dataset still reports a self loop error.I will continue to test.

from graphriccicurvature.

Related Issues (20)

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.