neo4j-graph-analytics / ml-models

Machine Learning Procedures and Functions for Neo4j
https://github.com/neo4j-graph-analytics/ml-models/releases/tag/1.0.0
Apache License 2.0
64 stars 23 forks source link

failed to invoke procedure embedding.deepgl #14

Open AdamT23 opened 5 years ago

AdamT23 commented 5 years ago

using version 1.0.2 and running this cypher code: CALL embedding.deepgl("Address","PAYS", { nodeFeatures: ['pagerank'], iterations: 2 }) This error occurs >> Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure embedding.deepgl: Caused by: java.lang.NoSuchMethodError: org.neo4j.graphalgo.core.IdMap.buildMappedIds()V

Not sure what it is!? Config file is updated for the unrestricted algo., embedding.

I tried the latest verions 1.0.3 and get a completely different error: Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure embedding.deepgl: Caused by: java.lang.UnsatisfiedLinkError: no openblas in java.library.path

I am using neo4j version 3.5.5 happy to hear anyones ideas on what i might be doing wrong here Many thanks!

DagobertoJoseHerreraMurillo commented 5 years ago

Hi @AdamT23 & @mneedham, any update? I have the exact problem when invoking embedding.deepgl Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedureembedding.deepgl: Caused by: java.lang.NoSuchMethodError: org.neo4j.graphalgo.core.IdMap.buildMappedIds()V Instead embedding.deepwalk is working fine. Thanks!

sriramcms commented 5 years ago

Im using neo4j 3.5.8 comunity , Docker and ml-models 1.0.3 - pre-built

Im getting errors using embedding.* - where as CALL algo.pageRank('Host', 'CONNECTION') works. It seems like a dependency issue

Do we have to compile ml-models ourselves -- @DagobertoJoseHerreraMurillo since deepwalk is working for you. Can u describe your setup ?

CALL embedding.deepgl("Host","CONNECTION", { nodeFeatures: ['pagerank'], iterations: 2 }) Error Neo.ClientError.Procedure.ProcedureCallFailed Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure embedding.deepgl: Caused by: java.lang.NoSuchMethodError: org.neo4j.graphalgo.core.heavyweight.HeavyGraph.degree(ILorg/neo4j/graphdb/Direction;)

CALL embedding.deepWalk()

Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure embedding.deepWalk: Caused by: java.lang.NoSuchMethodError: org.neo4j.graphalgo.api.Graph.forEachNode(Ljava/util/function/IntPredicate;)V

akastrin commented 4 years ago

Same issue with the Neo4j v. 3.5.13.