DeepGL procedure error


(ikar) #1

Hello,
I would like to use the DeepGL procedure in Neo4j 3.5 beta for scientific purposes.
However, I have a problem and don't know how to solve it.

I downloaded neo4j-ml-models-1.0.1 and copied it into the plugins folder.
After that i added:
dbms.security.procedures.whitelist=regression., embedding.
dbms.security.procedures.whitelist=embedding.*
to the neo4j.conf file.

If I try now to use the procedure in Neo4j, I get the following error:
$ CALL embedding.deepgl()

Neo.ClientError.Procedure.ProcedureNotFound: There is no procedure with the name `embedding.deepgl` registered for this database instance.
Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

Do you have an idea what the cause could be?

Would appreciate an answer very much.

#############################
OS: Windows 10, 64 Bit
Neo4j Browser version: 3.2.10
Neo4j Server version: 3.5.0-beta03 (community)


(Bratanic Tomaz) #2

You should probably add the unrestricted configuration to neo4j.conf

This is how my config when using APOC. graph algos and ml models at the same time.

dbms.security.procedures.unrestricted=apoc.*,algo.*,regression.*, embedding.*
dbms.security.procedures.whitelist=algo.*,apoc.*,regression.*, embedding.*

(ikar) #3

Thank you for your answer but it still does not work :confused:
I get the same error message as above.
Do you have another idea?


(ds) #4

Hi I am also experiencing the same issue. Has anyone determined a fix and also provide the step-by-step guidelines on how to install this plugin into the database engine?


(Mark Needham) #5

Hey,

I've just figured out why this hasn't been showing up. The DeepGL procedure relies on the graph algorithms plugin being installed, so if you install that you should be able to see it show up on the list of procedures.

Sorry about that.

Cheers, Mark


(Mralexeykuznetsov) #6

Perhaps makes sense to continiue with another issue:

With all above prerequisites applied, when calling embedding.deepgl neo4j browser raises an error:
"Failed to invoke procedure embedding.deepgl: Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.nd4j.linalg.factory.Nd4j"

Any ideas how to fix this?
Also posted as an issue here: https://github.com/neo4j-graph-analytics/ml-models/issues/10

Thanks!