TKNearestNeighbors.OnFirstRecord Property

property OnFirstRecord: TNotifyEvent;

Called by LearnData method and K-NN to request the positioning to the first record.

Returns: TNotifyEvent

Remarks:

Because K-NN requires access to all learn examples when classifying, this event gives the algorithm access to the learn dataset.