检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
0) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 k 是 核数。 算法会返回核数大于等于k的节点。 Integer 大于等于0。 - 表2 response_data参数说明 参数 类型 说明 coreness List<Map<String,Integer>>
是否必选 说明 类型 取值范围 默认值 convergence 否 收敛精度。 Double 0~1,不包括0和1。 0.00001 max_iterations 否 最大迭代次数。 Integer 1~2000。 1000 表2 reponse_data参数说明 参数 类型 说明 community
是否必选 说明 类型 取值范围 默认值 convergence 否 收敛精度。 Double 0~1,不包括0和1。 0.00001 max_iterations 否 最大迭代次数。 Integer 1~2000。 100 表2 reponse_data参数说明 参数 类型 说明 modularity
parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 source 是 节点的ID。 String - - directed 否 是否考虑边的方向。 Boolean true或false。 true 表2 response_data参数说明 参数 类型 说明 distance List
金融风控、交通路网、城市规划等领域 参数说明 表1 OD-betweenness Centrality算法参数说明 参数 是否必选 说明 类型 取值范围 默认值 directed 否 是否考虑边的方向 Boolean true或者false true weight 否 边上权重 String
response_data参数说明 参数 类型 说明 betweenness List 各节点的betweenness值,格式: [{vertexId: betweennessValue},...], 其中: vertexId:string类型 betweennessValue:double类型 父主题: 算法API参数参考
response_data参数说明 参数 类型 说明 score List 各节点的得分,反应推荐程度,值越大推荐度越高,格式: [{vertexId:scoreValue},...] 其中, vertexId: string类型 scoreValue: double类型 sources List
parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 source 是 输入起点ID。 String - - target 是 输入终点ID。 String - - 表2 response_data参数说明 参数 类型 说明 vertices List 公共邻居节点,格式:
各节点对应的连通集合(community),格式:[{vertexId:communityId},...] 其中, vertexId: string类型 communityId: string类型 父主题: 算法API参数参考
response_data参数说明 参数 类型 说明 topicrank List 各节点的topicrank值,格式: [{vertexId:rankValue},...] 其中, vertexId:string类型 rankValue:double类型 父主题: 算法API参数参考
终止时间,Date型字符串或时间戳。 表3 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题:
各节点对应的社团(community),格式: [{vertexId:communityId},...] 其中, vertexId: string类型 communityId: string类型 父主题: 算法API参数参考
子图匹配(subgraph_matching)(2.2.16) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 edges 是 需匹配的子图的边集, 点的ID要求为size_t类型 String 标准CSV格式,边的起点与终点之间以英文逗号分隔,各边之间以换行符“\n”分隔,例如:“1
true或false。 false 表2 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题:
response_data参数说明 参数 类型 说明 source String - personalrank List 各节点的personalrank值,格式: [{vertexId:rankValue},...] 其中, vertexId:string类型 rankValue:double类型 父主题: 算法API参数参考
Date型字符串或时间戳 - 表3 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题:
true或false false 表2 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题:
graph.nid(100) # 基于Pregel模型实现自定义SSSP算法,并设置顶点值类型ntype为int, # 消息类型mtype默认和ntype保持一致,combiner类型设置为min @pregel_types(ntype=int, combiner=min) class
Date型字符串或时间戳 - 表3 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题:
Date型字符串或时间戳 - 表3 response_data参数说明 参数 类型 说明 path List 最短路径,格式: [vertexId,...] 其中, vertexId:string类型 source String 起点ID target String 终点ID 父主题: