-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please provide support for weighted hypergraphs #35
Comments
Thanks @jim-rafferty, |
Thanks @brendapraggastis I realise my initial request was horribly vague and open ended - apologies. I will have a look at the code and see if I can send you a PR. Thanks again. |
Have I understood that correctly: Any property added to an edge (via
No change to get the |
Could we please get an answer to the above question? |
To answer @michaeldorner , when the hypergraph is generated it creates a copy of the EntitySet so any change to the original EntitySet will not be reflected in the hypergraph. @Vivdaddy : We are actively working on the most intuitive and useful way to add metadata to a hypergraph. Currently attributes can be added directly to the nodes and edges. Tutorial 13 based on our hypergraph modularity module uses the attributes strength and weight on the nodes and edges. Have a look specifically at the precompute_attributes method starting on line 74 of the module. |
Thank you, I will check it out. |
Merge in HYP/hypernetx from devops/modify-precommit to develop * commit '0d0939bd3ab594d82e50ecc716d32a339b75b9b9': Remove mypy from CI
Hi, this is a really good package :)
It would be loads more useful if you could provide support for weighted hypergraphs. It seems to be possible to create a weighted hypergraph at the moment like this:
but it's not possible to do any analysis with the weights as far as I can tell (see for example, the output of
hnx.dist_stats(h)
)Are there any plans to add this type of functionality?
Thanks!
The text was updated successfully, but these errors were encountered: