Expose additional parameters in Leiden and Louvain
jpintar opened this issue · 3 comments
jpintar commented
There are a couple of parameters in the cuGraph implementation of leiden
and louvain
that cannot be accessed from rapids_singlecell
:
random_state
can be set in both the cuGraph and Scanpy versions ofleiden
threshold
is available in the cuGraph version oflouvain
theta
is nominally available in the cuGraph version ofleiden
, but it currently does nothing due to a couple of bugs
The first two are a quick thing to fix, so I'm going to submit two pull requests, one for leiden
and one for louvain
(and I'll be happy to submit another one for theta
, too, when it's fixed in cuGraph).
Intron7 commented
Hey @jpintar
Thank you for the PR. I'm on holiday until January so it will sadly take some time until I can address those. I also saw that something with the CI install went wrong, but this is on my side.
Yours Severin
jpintar commented
You're welcome! No rush, naturally - have a good vacation!