TKNearestNeighbors.DistanceModel Property

property DistanceModel: TDistanceModel read FDistanceModel write SetDistanceModel default dmNorm1;

Defines the distance model used, when calculating the distance between examples.

Returns: TDistanceModel

Remarks:

When mixing real and discrete attributes, the norm used will be always be L1 Norm.