更新时间:2025-06-05 GMT+08:00
louvain算法(louvain)(2.2.1)
参数 | 是否必选 | 说明 | 类型 | 取值范围 | 默认值 |
|---|---|---|---|---|---|
convergence | 否 | 收敛精度。 | Double | 0~1,不包括0和1。 | 0.00001 |
max_iterations | 否 | 最大迭代次数。 | Integer | API调用限制为[1,2147483647],前端调用限制为[1,2000],默认值为100。 | 100 |
weight | 否 | 边上权重 | String | 空或字符串
说明: 边上权重应大于0。 | 空 |

关于迭代次数(max_iterations)和收敛精度(convergence)参数如何调节,请参考迭代次数和收敛精度的关系。
参数 | 类型 | 说明 |
|---|---|---|
modularity | Double | 模块度。 |
community_num | Integer | 社团数量。 |
community | List | 各节点对应的社团(community),格式: [{vertexId:communityId},...] 其中, vertexId: string类型 communityId: string类型 |
父主题:算法API参数参考

