Hi,
My task is to mine for patterns in my neo4j database, for which I have been till now using a script which uses gspan algorithm (based on depth search first), but it did not serve my purpose.
I would like to know if I can use any other pattern mining algorithms which is compatible with neo4j?
jalakoo
( Jalakoo)
April 24, 2023, 3:29pm
2
Hi @manpa.barman97 ,
Do any of the graph data science library algos work for your needs?
Not exactly, I want to mine for frequent subgraph patterns in my graph and no gds library algos serve the purpose here.
jalakoo
( Jalakoo)
May 1, 2023, 6:26pm
4
Okay, sounds like you might need to create a custom graph projection that works better for your use-case.
Have you looked at using gds.graph.project.cypher
?
cobra
(Cobra)
May 4, 2023, 7:16pm
5
Hello @manpa.barman97
Currently, this type of algorithms is not implemented in the Graph Data Science plugin.
The discussion on this subject had already started here .
The other solution is to implement them in Java by using the Pregel API of GDS .
Best regards,
Cobra
Yes, I have tried it too but was not of much help.
Hi,
I see. I would try the other solution of Pregel API.
Thank you so much for the help.
cobra
(Cobra)
May 7, 2023, 8:23pm
8
I'd love to hear the results if you come to a solution if possible :)