Feature Selection Toolbox FST4
UTIA · Czech Academy of Sciences
Loading...
Searching...
No Matches
FST::Classifier_kNN< RETURNTYPE, DATATYPE, IDXTYPE, DIMTYPE, SUBSET, DATAACCESSOR, DISTANCE >::Neighbour Class Reference

Holds information on distance and data-class membership of neighbors processed in Classifier_kNN. More...

#include <classifier_knn.hpp>

Public Member Functions

 Neighbour (const RETURNTYPE value, const DIMTYPE cls)
 constructs from a distance value and the neighbour's class cls
 Neighbour (const Neighbour &nei)
 copy constructor

Public Attributes

RETURNTYPE _value
 distance from the pattern being classified to this training neighbour
DIMTYPE _cls
 the training neighbour's class

Detailed Description

template<class RETURNTYPE, typename DATATYPE, typename IDXTYPE, typename DIMTYPE, class SUBSET, class DATAACCESSOR, class DISTANCE>
class FST::Classifier_kNN< RETURNTYPE, DATATYPE, IDXTYPE, DIMTYPE, SUBSET, DATAACCESSOR, DISTANCE >::Neighbour

Holds information on distance and data-class membership of neighbors processed in Classifier_kNN.


The documentation for this class was generated from the following file:
Copyright © 2000–present ÚTIA, Institute of Information Theory and Automation of the Czech Academy of Sciences · Contacts · This site sets no cookies and uses no analytics.