Vincent Traag
Vincent Traag
Yes, fair point about the explicit formula's, probably good to include that. What might be a reasonable default, but still keeping CPM as a default, and without doing some annoying...
> I think this would work, but you need to write something like `ifelse(is.null(weights), density(graph), weighted_density(graph))`. But IMHO `weighted_density(graph, weights)` could fall back to the unweighted density if `weights` is...
> Can the default `resolution_parameter` value not depend on the value of `objective_function`? I'm not sure if I understand this. I propose that it does depend on the value of...
> "weighted density" (i.e. sum(weights)/(n(n - 1)/2) with n the number of nodes)
I've improved the documentation in https://github.com/igraph/rigraph/commit/49f8b1714c97f3519a358763b6039866a0fb1fb4. I haven't yet changed the default settings, so we should still leave this issue open.
I guess that the library is installed, but not the headers. I recently made a fresh install of Ubuntu 22.04, and `pthread.h` is not included by default, and you have...
Apologies, the header `pthread.h` seems to be provided by `libc6-dev`.
Thanks! Note that > `quality = la.SignificanceVertexPartition.FromPartition(partition).quality()` calculates the [significance](https://leidenalg.readthedocs.io/en/stable/reference.html#significancevertexpartition) of the partition `partition`, not the modularity. On the other hand, > modularity = la.SignificanceVertexPartition.FromPartition(partition).modularity does calculate the modularity of...
> Thanks for the response. You're welcome! > I also thought `quality` and `modularity` **should** be identical in this case Not as you have defined them above. If you calculate...
Hi @jaminmei and @ChongruiYang, thanks for your questions, and @SamGG, thanks for replying! I just mentioned elsewhere that I'm the only person watching this issue tracker, but I'm happy to...