Giter Site home page Giter Site logo

basic how-to about hetnetpy HOT 3 OPEN

hetio avatar hetio commented on June 18, 2024 1
basic how-to

from hetnetpy.

Comments (3)

dhimmel avatar dhimmel commented on June 18, 2024 1

Thanks both for the reminder to improve the docs here. A basic how-to or getting started would be a great thing to add. We could also auto-generate docs from the current docstrings. And improve type hints.

Hi, I was also wondering if there is any how-to documentation for this yet. In particular, I was interested in generating the metapaths for my graph

@laurendelong21, you will probably want to use either the extract_metapaths or extract_all_metapaths methods of the MetaGraph object. Have you been able to create a metagraph for your graph yet? If not, this test has an example. Or for a bigger example, here's how the metagraph was defined for Hetionet v1.0 (notebook cell 2).

from hetnetpy.

laurendelong21 avatar laurendelong21 commented on June 18, 2024

Hi, I was also wondering if there is any how-to documentation for this yet. In particular, I was interested in generating the metapaths for my graph

from hetnetpy.

laurendelong21 avatar laurendelong21 commented on June 18, 2024

Thanks so much @dhimmel , your suggestions were what I needed for now. I managed to create the metagraph and extract metapaths using the notebook example and the two methods you pointed out. The only thing that really needed changing was the module name (hetio --> hetnetpy).

from hetnetpy.

Related Issues (16)

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.