Common Neighbors
Overview
Common Neighbors is a basic graph analysis algorithm that obtains the neighboring nodes shared by two nodes and further speculate the potential relationship and similarity between the two nodes. For example, it can intuitively discover shared friends in social occasions or products that interest both nodes in the consumption field.
Application Scenarios
This algorithm applies to scenarios such as e-commerce and social networking.
Parameter Description
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
source |
Yes |
Enter the source ID. |
String |
- |
- |
target |
Yes |
Enter the target ID. |
String |
- |
- |
Precautions
None
Example
Set parameters source to Lee and target to Alice. 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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot