Skip to content

cluster_leiden() docs should be explicit about the objective function #529

@szhorvat

Description

@szhorvat

The cluster_leiden() documentation does not have the formula for the objective function. What is being maximized using CPM and modularity, respectively?

Additionally, since CPM is the default, the docs should provide guidance on how to get good results with CPM, i.e. how to set the resolution. The default value of 1 does not usually lead to good results. As a result, it's almost guaranteed that the results will not be good if using the default settings (a simple cluster_leiden(g) call). In my mind, this makes CPM a bad default choice unless it is accompanied by an appropriate default for resolution as well—but this is for @vtraag to decide. I expect that most users won't even read the documentation, and instead will just try the defaults.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions