Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-06-2020 11:05 AM
Hi,
Working my way through gds library (version 1.1.1 is installed)
First: the documentation does not list the algorithm as alpha.
It is giving me an error about triangle Count being an unknown output. The documentation does show it as result.
Unknown procedure output: triangleCount
(line 2, column 15 (offset: 58))
"YIELD nodeId, triangleCount"
CALL gds.alpha.triangleCount.stream('fred')
YIELD nodeId, triangleCount
RETURN gds.util.asNode(nodeId).noun AS noun, triangleCount
ORDER BY triangleCount DESC
Also it is not finding localClusteringCoefficient.
Andy.
07-06-2020 11:12 AM
07-06-2020 11:15 AM
Yup,
that is where I started:
"There is no procedure with the name gds.triangleCount.stream
registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed."
Andy
07-06-2020 11:15 AM
Are you sure GDS is installed?
07-06-2020 11:19 AM
I believe so:
I can run this without issue.
CALL gds.labelPropagation.stream('fred')
YIELD nodeId, communityId AS Community
RETURN gds.util.asNode(nodeId).noun AS noun, Community
ORDER BY Community, noun
Andy
07-06-2020 11:20 AM
That's weird, which version of Neo4j database are you using?
Did you try to uninstall / reinstall the plugin?
07-06-2020 11:57 AM
Version 3.5.14 Enterprise
Status RUNNING
Nodes 270
Labels 1
Relationships 3415
Relationship types 1
APOC
Installed
3.5.0.9
Graph Data Science Library
Installed
1.1.1
07-06-2020 11:25 AM
I have called dbms.procecdures() and it has this:
It shows it as an alpha level procedure though the online documentation does not. Also it shows the result value as triangles and triangleCount .
I am just following along with the documentation.
gds.alpha.triangleCount.stream" "gds.alpha.triangleCount.stream(graphName :: ANY?, configuration = {} :: MAP?) :: (nodeId :: INTEGER?, triangles :: INTEGER?, coefficient :: FLOAT?)" "Triangle counting is a community detection graph algorithm that is used to determine the number of triangles passing through each node in the graph." ["reader", "editor", "publisher", "architect", "admin"] "READ"
07-06-2020 11:29 AM
Which version of Neo4j (>4.0 or <4.0) are you using and can you tell me which plugins are installed on the database?
07-06-2020 12:00 PM
Can you try to update the database to the 4.0.6 version and to reinstall the plugin?
07-06-2020 01:01 PM
I think I figured out what happened. The default for the documentation is version 1.2 and since I am running Neo4J 3.5.14 version 1.1.1 got installed. If I change the version on the documentation page to reflect that then things make sense. I would recommend that versioning on documentation be a bit more visible.
Andy
07-06-2020 02:06 PM
Yeah It happened to me , did you solved your issue?
07-06-2020 02:50 PM
I think I am ok at the moment.
Thank you for your assistance.
Andy
All the sessions of the conference are now available online