Skip to content

Commit

Permalink
algorithm add encodeId (#2208)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Aug 4, 2023
1 parent 503acd0 commit 861e542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs-2.0/graph-computing/nebula-algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ Before using the NebulaGraph Algorithm, users need to confirm the following info

## Limitations

- For non-integer String data, it is recommended to use the algorithm interface. You can use the `dense_rank` function of SparkSQL to encode the data as the Long type instead of the String type.

- Graph computing outputs vertex datasets, and the algorithm results are stored in DataFrames as the properties of vertices. You can do further operations such as statistics and filtering according to your business requirements.
Graph computing outputs vertex datasets, and the algorithm results are stored in DataFrames as the properties of vertices. You can do further operations such as statistics and filtering according to your business requirements.

!!!

Expand Down Expand Up @@ -239,13 +237,15 @@ The `lib` repository provides 10 common graph algorithms.
pagerank: {
maxIter: 10
resetProb: 0.15
encodeId:false # Configure true if the VID is of string type.
}

# Louvain
louvain: {
maxIter: 20
internalIter: 10
tol: 0.5
encodeId:false # Configure true if the VID is of string type.
}

# ...
Expand Down

0 comments on commit 861e542

Please sign in to comment.