You are here: Symbol Reference > Classifier Namespace > Classes > TKNearestNeighbors Class > TKNearestNeighbors Methods
Data Miner
ContentsIndex
PreviousUpNext
TKNearestNeighbors Methods

The methods of the TKNearestNeighbors class are listed here.

 
Name 
Description 
 
Get the name of the class at Index.  
 
Determine the most probable class to which the example with values of discrete attributes in DiscreteRecord and values of real valued attributes in FloatRecord belongs to.  
 
Determine the response of all classe for the example with values of discrete attributes in DiscreteRecord and values of real valued attributes in FloatRecord.  
 
Performs the classification on the test data, by calling the OnClassifyTest event.  
 
Get the index of the class with Name.  
 
Clear all learned data and all class descriptions.  
 
Insert a record holding in to the K nearest neighbors array.  
 
Learn a new record belonging to class with ClassName.  
 
Learn a new record belonging to class with ClassIndex.  
 
Load the component from stream.  
 
Reset all learned data including attribute weights and attribute Enabled fields, but keep the class descriptions.  
 
Save the component to stream.  
 
Reset all learned data except attribute weights and attribute Enabled fields and keep the class descriptions.  
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!