Skip to content

@graphty/algorithms / index / indexed / commonNeighborsPrediction

Function: commonNeighborsPrediction() ​

commonNeighborsPrediction(s, o?): LinkPredictionResult

Defined in: indexed/link-prediction.ts:299

Common-neighbour scores of every pair not already joined, ranked.

Parameters ​

s ​

GraphSnapshot

The snapshot

o? ​

LinkPredictionOptions = {}

Options

Returns ​

LinkPredictionResult

The pairs with a positive score, highest first