-
Notifications
You must be signed in to change notification settings - Fork 31
Louvain-algo result should be more meaningful #105
Comments
@Nicole00 what do you think, please? |
@spaxfiz Thanks for your idea. I think it just another format to show the louvain's result as communitID, community vertices. |
Dear @spaxfiz , Thanks a lot for your proposal, after talking with @Nicole00, the algorithms provided are actually sample applications and their output format are unified. The expected case here(when the return of the algorithm app cannot fulfill requirements) was to modify/write their own ones based on the samples. I think we could somehow improve the documentation and description to highlight both on:
based on what you have helped contribute and pointed out here. Thanks! |
Will close it as it's been inactive for days. Feel free to reopen it. |
nebula-spark-utils/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/lib/LouvainAlgo.scala
Line 369 in fe314b7
Version: v2.0.0
Debugging with breakpoint, it seems that the louvain result only contains the core vertecies in community, which means we cannot figure out all vertecies in one community.
Here is my test data:
params:
And the result by calling louvainResult.show():
Apparently, there are more than 3 vertecies.
And I think it's more meaningful to users by changing the code to:
Nebula Chinese forum related: https://discuss.nebula-graph.com.cn/t/topic/4701/5
The text was updated successfully, but these errors were encountered: