Common Neighbors of Vertex Sets
Overview
The Common Neighbors of Vertex Sets algorithm can find common neighbors of two vertex sets, and intuitively discover an object jointly associated with both sets, for example, a common friend in a social occasion, a product that is of common interest, a person who has been contacted by community groups. In this way, the algorithm infers the potential relationship and degree of association between the vertex sets.
Application Scenarios
This algorithm applies to graph analysis such as relationship mining and product/friend recommendations.
Parameter Description
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
sources |
Yes |
Source vertex ID set |
String |
The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice, Nana. The maximum ID number is 100,000. |
- |
targets |
Yes |
Target vertex ID set |
String |
The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice, Nana. The maximum ID number is 100,000. |
- |
Precautions
None
Example
Enter sources=Alice,Nana and targets=Mike,Amy. The calculation result is displayed on the canvas and the JSON result is displayed in the query result area.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.