Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pages/advanced-algorithms/available-algorithms/cugraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -320,18 +320,18 @@ Find personalized PageRank scores for all nodes in the graph.
personalization values.
- `personalization_values: mgp.List[float]` ➡ Above nodes’ personalization
values.
- `weight_property: string (default="weight")` ➡ The values of the given relationship.
property are used as weights by the algorithm. If this property is not set for
a relationship, the fallback value is `1.0`.
- `max_iterations: integer (default=100)` ➡ The maximum number of iterations before returning
an answer. Use it to limit the execution time or do an early
exit before the solver reaches the convergence tolerance.
- `damping_factor: float (default=0.85)` ➡ The damping factor represents the probability
to follow an outgoing edge.
- `stop_epsilon: float (default=1e-5)` ➡ The convergence tolerance for PageRank
approximation. Lowering tolerance improves the approximation, but setting this
parameter too low can ensue in non-convergence due to numerical round-off.
Values between `0.01` and `0.00001` are usually acceptable.
- `max_iterations: integer (default=100)` ➡ The maximum number of iterations before returning
an answer. Use it to limit the execution time or do an early
exit before the solver reaches the convergence tolerance.
- `weight_property: string (default="weight")` ➡ The values of the given relationship
property are used as weights by the algorithm. If this property is not set for
a relationship, the fallback value is `1.0`.

{<h4 className="custom-header"> Output: </h4>}

Expand All @@ -340,11 +340,11 @@ Find personalized PageRank scores for all nodes in the graph.

{<h4 className="custom-header"> Usage: </h4>}

use the following query to calculate the personalized PageRank score:
Use the following query to calculate the personalized PageRank score:

```cypher
MATCH (n: Node {id: 1}), (m: Node {id: 2})
CALL cugraph.pagerank.get([n, m], [0.2, 0.5])
CALL cugraph.personalized_pagerank.get([n, m], [0.2, 0.5])
YIELD node, pagerank
RETURN node, pagerank;
```
Expand Down