TKNearestNeighbors.OnLastRecord Property

property OnLastRecord: TNotifyEvent;

Called by LearnData method and K-NN when the last record is fetched.

Returns: TNotifyEvent

Remarks:

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