Hello, I need some hints about generating graphs using gt.generate_sbm. I had myself used it to generate a random graph given a predefined modular structure passing blocks and their connectivities. I have now a more complicated problem: I'm inferring communities from a complete weighted graph and I want to generate random graphs using the inferred structure. Is it possible to generate the graph with edge weights modeled after the types used to define the original BlockState? Best,
d
Dear Davide,
Am 28.05.21 um 20:05 schrieb Davide Cittaro:
Hello, I need some hints about generating graphs using gt.generate_sbm. I had myself used it to generate a random graph given a predefined modular structure passing blocks and their connectivities. I have now a more complicated problem: I'm inferring communities from a complete weighted graph and I want to generate random graphs using the inferred structure. Is it possible to generate the graph with edge weights modeled after the types used to define the original BlockState?
Direct sampling from the SBM with edge covariates is not yet implemented!
This is not very difficult to do "by hand", bit it would be a nice addition to the library.
Could you please open an issue in the website for this request, and I will try to include it for the next release.
Best, Tiago
Hello Tiago,
Sent from my iPad
On 1 Jun 2021, at 16:53, Tiago de Paula Peixoto tiago@skewed.de wrote:
Could you please open an issue in the website for this request, and I will try to include it for the next release.
It seems this feature has already been requested :) https://git.skewed.de/count0/graph-tool/-/issues/671
d
Am 01.06.21 um 17:25 schrieb Davide Cittaro:
It seems this feature has already been requested :) https://git.skewed.de/count0/graph-tool/-/issues/671 https://git.skewed.de/count0/graph-tool/-/issues/671
Indeed! :-)