You are here: Symbol Reference > Classifier Namespace > Classes > TKNearestNeighbors Class > TKNearestNeighbors Properties > TKNearestNeighbors.DistanceModel Property
Data Miner
TKNearestNeighbors.DistanceModel Property

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

property DistanceModel: TDistanceModel;

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

Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!