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

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

Pascal
property LeaveOneOut: integer;

This property is usefull for testing the classificaiton 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-2017 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!