Label Propagation (2.1.8)
Parameter |
Mandatory |
Type |
Value Range |
Description |
Default Value |
---|---|---|---|---|---|
convergence |
No |
Double |
The value is a real number between 0 and 1. |
Convergence. |
0.00001 |
max_iterations |
No |
Integer |
Maximum iterations. An integer ranging from 1 to 2147483647. For frontend calls, the range is [1, 2000]. The default value is 1000. |
Maximum iterations. |
1000 |
initial |
No |
String |
Empty or character string
NOTE:
If the value of initial is a character string, the number of vertices with initialization labels must be greater than 0 and less than the total number of vertices. |
Name of the property used as the initialization label on a vertex. |
- |
weight |
No |
String |
Null or string
NOTE:
The weight of an edge must be greater than 0. |
Weight of an edge. |
Null |

For how to adjust the values of max_iterations and convergence, see Iterations and Convergence of PageRank.
Parameter |
Type |
Description |
---|---|---|
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. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot