TKRecord Record

type TKRecord = record;

Record type used by K-NN (K Nearest Neighbors) classification algorithm to store the nearest neighbors.

Stores nearest neighbors.

Fields

NameTypeDescription
ClassIndexintegerClass of the learned example.
DistancedoubleDistance Distance of the learned example from the current example.
ExampleIndexintegerIndex of the learned example within the learn dataset.