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.

How does gds.louvain handle 0 weight relationships?

I am using Graph Data Science library to run louvain community detection. In order to scale my pipeline I am trying to move to a Native Projection, but in order to make that work well I have several weight values on relationships, some of which are 0.

I am trying to figure out if Louvain will ignore relationships with 0 value for weightProperty.

Thanks

1 ACCEPTED SOLUTION

Hello @betsy and welcome to the Neo4j community,

The Louvain algorithm (https://neo4j.com/docs/graph-data-science/current/algorithms/louvain/) won't ignore relationships with 0 value for relationshipWeightProperty:)

Regards,
Cobra

View solution in original post

1 REPLY 1

Hello @betsy and welcome to the Neo4j community,

The Louvain algorithm (https://neo4j.com/docs/graph-data-science/current/algorithms/louvain/) won't ignore relationships with 0 value for relationshipWeightProperty:)

Regards,
Cobra