Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add desc for clustering coefficient algorithm #22

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

Nicole00
Copy link
Contributor

@Nicole00 Nicole00 commented Dec 3, 2021

No description provided.

@Nicole00 Nicole00 added the doc affected Solution: improvements or additions to documentation label Dec 3, 2021
randomJoe211
randomJoe211 previously approved these changes Dec 3, 2021
README-CN.md Outdated
@@ -16,6 +16,7 @@ nebula-algorithm 是一款基于 [GraphX](https://spark.apache.org/graphx/) 的
| GraphTriangleCount |全图三角形计数|网络紧密性分析|
| BetweennessCentrality | 介数中心性 |关键节点挖掘,节点影响力计算|
| DegreeStatic | 度统计 |图结构分析|
| ClusteringCoefficient | 聚集系数 |推荐, 电信诈骗分析|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| ClusteringCoefficient | 聚集系数 |推荐, 电信诈骗分析|
| ClusteringCoefficient | 聚集系数 |推荐电信诈骗分析|

@@ -20,6 +20,7 @@ nebula-algorithm is a Spark Application based on [GraphX](https://spark.apache.o
| GraphTriangleCount | network structure and tightness analysis|
| BetweennessCentrality | important node digging, node influence calculation|
| DegreeStatic | graph structure analysis|
| ClusteringCoefficient | recommended, telecom fraud analysis|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| ClusteringCoefficient | recommended, telecom fraud analysis|
| ClusteringCoefficient | recommendation system, telecom fraud analysis|

README.md Outdated
@@ -78,8 +79,9 @@ Limitation: Due to Nebula Algorithm will not encode string id, thus during the a
val prResult = PageRankAlgo.apply(spark, data, prConfig, false)
```

For other algorithms, please refer to [test cases](https://github.com/vesoft-inc/nebula-algorithm/tree/master/nebula-algorithm/src/test/scala/com/vesoft/nebula/algorithm/lib).

If your vertex id is String type, [Pagerank Example](https://github.com/vesoft-inc/nebula-algorithm/blob/master/example/src/main/scala/com/vesoft/nebula/algorithm/PageRankExample.scala) gives the encoding and decoding process for String id.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If your vertex id is String type, [Pagerank Example](https://github.com/vesoft-inc/nebula-algorithm/blob/master/example/src/main/scala/com/vesoft/nebula/algorithm/PageRankExample.scala) gives the encoding and decoding process for String id.
If your vertex ids are Strings, see [Pagerank Example](https://github.com/vesoft-inc/nebula-algorithm/blob/master/example/src/main/scala/com/vesoft/nebula/algorithm/PageRankExample.scala) for how to encoding and decoding them.

README.md Outdated

If your vertex id is String type, [Pagerank Example](https://github.com/vesoft-inc/nebula-algorithm/blob/master/example/src/main/scala/com/vesoft/nebula/algorithm/PageRankExample.scala) gives the encoding and decoding process for String id.

For other algorithms, please refer to [examples](https://github.com/vesoft-inc/nebula-algorithm/tree/master/example/src/main/scala/com/vesoft/nebula/algorithm)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For other algorithms, please refer to [examples](https://github.com/vesoft-inc/nebula-algorithm/tree/master/example/src/main/scala/com/vesoft/nebula/algorithm)
For examples of other algorithms, see [examples](https://github.com/vesoft-inc/nebula-algorithm/tree/master/example/src/main/scala/com/vesoft/nebula/algorithm)

@randomJoe211 randomJoe211 merged commit 3e25367 into vesoft-inc:master Dec 3, 2021
@foesa-yang foesa-yang added this to To do in Nebula Docs Jan 17, 2022
@cooper-lzy cooper-lzy moved this from To do to In progress in Nebula Docs Jan 18, 2022
@cooper-lzy cooper-lzy moved this from In progress to Done in Nebula Docs Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc affected Solution: improvements or additions to documentation
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants