A relationship weight property identifies the relationship attribute whose numeric values provide edge weights for a graph algorithm. Weighted algorithm variants read this property through the relationshipWeightProperty configuration parameter. section 6.2.1 section 6.5
Weighted out-degree in a retweet network
Evaluate the weighted out-degree distribution of the inferred retweet amplification network by passing the relationship property name: CALL gds.degree.stats('amplify', {relationshipWeightProperty:'weight'}) YIELD centralityDistribution. The resulting distribution has a mean weighted out-degree of 4.715 and a maximum of 2,006.0078. section 6.2.1
Listing 6.5 Evaluating the weighted out-degree distribution of the inferred retweet amplification network
CALL gds.degree.stats('amplify', {relationshipWeightProperty:'weight'})
YIELD centralityDistribution
Inspect the executable GDS query that supplies weight as the relationship attribute. section 6.2.1
