44 #ifndef _NEAREST_NEIGHBOR_H_
45 #define _NEAREST_NEIGHBOR_H_
90 bool Train(
const float *pData,
int nDimension,
int nDataSets);
91 int Classify(
const float *pQuery,
int nDimension,
float &fResultError);
92 bool Classify(
const float *pQueries,
int nDimension,
int nQueries,
int *pResults,
float *pResultErrors);
101 int m_nKdTreeMaxLeaves;
bool Train(const float *pData, int nDimension, int nDataSets)
void SetKdTreeMaxLeaves(int nKdTreeMaxLeaves)
int Classify(const float *pQuery, int nDimension, float &fResultError)
Class containing different implementations of the nearest neighbor classificator. ...
CNearestNeighbor(ComputationMethod method)