Modify graph algorthims?

Hello everyone,

I am new in the community, i would like to ask is there a way i could modify the code of Louvain Modularity graph algorithm and apply the modified version on my neo4j query? If yes can someone provide me a reference or explain how to do it?

Thank you in advance, any help will be much appreciated

The code is available (GDS github), so you could roll your own plugin or special version of gds. I'm not sure that this is trivial , but it could be done.

https://github.com/neo4j/graph-data-science/tree/master/algo/src/main/java/org/neo4j/graphalgo/louvain

Alternatively if it is something that is generally useful to everyone, you might request additional capability be added to the existing algorithm.

1 Like