更新时间:2023-08-16 GMT+08:00

Louvain算法(1.0.0)

表1 parameters参数说明

参数

是否必选

说明

类型

取值范围

默认值

convergence

收敛精度。

Double

0~1,不包括0和1。

0.00001

max_iterations

最大迭代次数。

Integer

1~2000。

100

表2 reponse_data参数说明

参数

类型

说明

modularity

Double

模块度。

community_num

Integer

社团数量。

community

List

各节点对应的社团(community),格式:

[{vertexId:communityId},...]

其中,

vertexId: string类型

communityId: string类型