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

Set the value of this property to the index of the example that you want to be ignored during the classification.

property LeaveOneOut: integer;

This property is usefull for testing the classification accuracy, because the current example classified can be left out from the comparison. Set this property to some value smaller then zero, to always consider all learned examples.

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