Giter Site home page Giter Site logo

Node2Vec in a large graph about nodevectors HOT 2 CLOSED

vhranger avatar vhranger commented on June 20, 2024
Node2Vec in a large graph

from nodevectors.

Comments (2)

VHRanger avatar VHRanger commented on June 20, 2024

If you absolutely insist on running Node2Vec, I'd recommend modifying the settings in the Node2Vec class like this

 nodevectors.Node2Vec(
        walklen=20, 
        epochs=5,
        return_weight=1.,
        neighbor_weight=1.,
        threads=1, 
        verbose=True
)

Segfaults are generally related to threading (so using threads != 1 ) with using return_weight or neighbor_weight different than 1. If you keep threads to 1 and walk weights to default settings it shouldn't segfault.

You can always try some of the other embedding algorithms (GGVec, GraRep, ProNE) -- Node2Vec is the only one that has this segfault issue and it's been hard to replicate and find the cause as of yet. Node2Vec is also not particularly better than the other ones, it's just more well known.

To help with the segfault, can you send me your setup? Your computer, python, numpy, numba version the Node2Vec settings used and either a link to your graph data or some statistics on it (directed or undirected, number of nodes and edges, etc.)

Thanks

from nodevectors.

VHRanger avatar VHRanger commented on June 20, 2024

Since this isn't being expanded upon, and I can't replicate it, I'll close the issue.

Please message me or reopen an issue if you run into anything, or this persists

from nodevectors.

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.