Interface: LinkPredictionRequest
@kortexya/reasoninglayer / LinkPredictionRequest
Interface: LinkPredictionRequest
Section titled “Interface: LinkPredictionRequest”Defined in: src/types/communities.ts:447
Request to predict links from a source node.
Properties
Section titled “Properties”measure
Section titled “measure”measure:
string
Defined in: src/types/communities.ts:449
Which heuristic: common_neighbors | jaccard | adamic_adar | resource_allocation.
source
Section titled “source”source:
string
Defined in: src/types/communities.ts:451
The source node to predict links from.
tenantId
Section titled “tenantId”tenantId:
string
Defined in: src/types/communities.ts:453
Tenant whose terms form the graph.
optionaltopK?:number|null
Defined in: src/types/communities.ts:455
Optional cap on the number of top-ranked candidates returned.