cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Gds.alpha.betweenness.sampled.stream procedure not listed

cjsxz
Node Link

Execute the code:

CALL gds.alpha.betweenness.sampled.stream({ nodeProjection: "User", relationshipProjection: "FOLLOWS", strategy:"degree"
})
YIELD nodeId, centrality
RETURN gds.util.asNode(nodeId).id AS user, centrality ORDER BY centrality DESC;

Error: Neo.ClientError.Procedure.ProcedureNotFound

There is no procedure with the name gds.alpha.betweenness.sampled.stream registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

Checked
CALL dbms.procedures();

and found that gds.alpha.betweenness.sampled.stream was not listed . What's the problem here?

3 REPLIES 3

Hi.

Can you please check which version of GDS you are using? (RETURN gds.version()). Using the latest version (1.6), betweenness centrality is not at the alpha level, but is rather at the production level. It is always best to be working at the latest version and, assuming you are, you can check out how to stream the sampled calculation here.

Please let us know if that doesn't help and we will try something else.

cjsxz
Node Link

Hi, I've upgraded to the most recent version. Now it's 1.6.0

After removing the .alpha error still occur which i think it's because the sampled calculation is not under betweenness. Still trying to figure out how to do this calculation.

Can you please post what your exact command presently is and what error it is giving?