Updated on 2022-04-14 GMT+08:00

Link Prediction

Overview

The Link Prediction algorithm is used to calculate the similarity between two nodes and predict their relationship based on the Jaccard measurement method.

Application Scenarios

This algorithm applies to scenarios such as friend recommendation and relationship prediction in social networks.

Parameter Description

Table 1 Link Prediction algorithm parameters

Parameter

Mandatory

Description

Type

Value Range

Default Value

source

Yes

Enter the source ID.

String

-

-

target

Yes

Enter the target ID.

String

-

-

Example

Set parameters source to Lee and target to Alice to calculate the association between two nodes. The JSON result is displayed in the query result area.