MyMediaLite
CorrelationMatrix.GetNearestNeighbors Method (int, uint)
Syntax
Collapse All
Get the k nearest neighbors of a given entity
Declaring type:
CorrelationMatrix
Namespace:
MyMediaLite.Correlation
Assembly:
MyMediaLite
Syntax
C#
public int[] GetNearestNeighbors ( int
entity_id
, uint
k
)
Parameters
entity_id
the numerical ID of the entity
k
the neighborhood size
Return Value
an array containing the numerical IDs of the k nearest neighbors
Top
Generated by
ImmDoc .NET
.