Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-15-2020 10:49 AM
Hello,
I'm trying to use GSD Eigenvector centrality algorithm based on Cypher projection and with weighted edges:
CALL gds.alpha.eigenvector.stream({
nodeQuery: 'MATCH ... RETURN id(node) as id',
relationshipQuery :'MATCH ... RETURN id(x) as source, id(y) as target, z as weight',
normalization:'max',
relationshipWeightProperty: 'weight'
})
YIELD nodeId, score
RETURN nodeId, score
Here the relationship query also returns a column 'weight' to be considered as wights of edges. I insert it with the aid of relationshipWeightProperty property. But the query returns scores as if no any weights were inserted. What is the reason? Maybe I' missing something?
I work with Neo4j v.4.0.
All the sessions of the conference are now available online