Louvain
Parameter | Mandatory | Description | Type | Value Range | Default Value |
---|---|---|---|---|---|
convergence | No | Convergence | Double | The value is a real number between 0 and 1. | 0.00001 |
max_iterations | No | Maximum iterations | Integer | An integer ranging from 1 to 2147483647. For frontend calls, the range is [1,2000]. | 100 |
weight | No | Weight of an edge | String | Empty or null character string
NOTE: The weight of an edge must be greater than 0. | weight |
Note
For details about algorithm iterations and convergence, see Iterations and Convergence of PageRank.
Parameter | Type | Description |
---|---|---|
modularity | Double | Modularity |
community_num | Integer | Number of communities |
community | List | Community corresponding to each vertex. The format is as follows: [{vertexId:communityId},...] where vertexId is of the string type. communityId is of the string type. |
Parent topic: Algorithm API Parameter References