Skip to content

Interface: LinkPredictionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Communities / LinkPredictionRequest

Interface: LinkPredictionRequest

Defined in: src/types/communities.ts:276

Request to predict links from a source node.

Properties

measure

measure: string

Defined in: src/types/communities.ts:278

Which heuristic: common_neighbors | jaccard | adamic_adar | resource_allocation.


source

source: string

Defined in: src/types/communities.ts:280

The source node to predict links from.


tenantId

tenantId: string

Defined in: src/types/communities.ts:282

Tenant whose terms form the graph.


topK?

optional topK: number | null

Defined in: src/types/communities.ts:284

Optional cap on the number of top-ranked candidates returned.