You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could it be possible to add support for the attribute consider_empty_community of leidenalg.Optimiser ?
A potential use case of this attribute is to better control the maximum number of clusters discovered, see the corresponding issue #89.
Digging through the code, I think it only amounts to add the following lines in leiden::find_paritition, after L109:
EDIT: Please ignore my suggestion, it doesn't work because the optimiser is instantiated internally (at L84) when leidenalg$find_partition is called.
Adding this feature would require a change to the leidenalg.find_partition function.
Hello,
Could it be possible to add support for the attribute
consider_empty_community
ofleidenalg.Optimiser
?A potential use case of this attribute is to better control the maximum number of clusters discovered, see the corresponding issue #89.
Digging through the code, I think it only amounts to add the following lines in
leiden::find_paritition
, after L109:and add an
empty_community
argument to each parent function.The text was updated successfully, but these errors were encountered: