OpenCV  4.9.0
Open Source Computer Vision
cv::ml::KNearest Member List

This is the complete list of members for cv::ml::KNearest, including all inherited members.

Algorithm()cv::Algorithm
BRUTE_FORCE enum valuecv::ml::KNearest
calcError(const Ptr< TrainData > &data, bool test, OutputArray resp) constcv::ml::StatModelvirtual
clear()cv::Algorithminlinevirtual
COMPRESSED_INPUT enum valuecv::ml::StatModel
create()cv::ml::KNeareststatic
empty() const CV_OVERRIDEcv::ml::StatModelvirtual
findNearest(InputArray samples, int k, OutputArray results, OutputArray neighborResponses=noArray(), OutputArray dist=noArray()) const =0cv::ml::KNearestpure virtual
Flags enum namecv::ml::StatModel
getAlgorithmType() const =0cv::ml::KNearestpure virtual
getDefaultK() const =0cv::ml::KNearestpure virtual
getDefaultName() constcv::Algorithmvirtual
getEmax() const =0cv::ml::KNearestpure virtual
getIsClassifier() const =0cv::ml::KNearestpure virtual
getVarCount() const =0cv::ml::StatModelpure virtual
isClassifier() const =0cv::ml::StatModelpure virtual
isTrained() const =0cv::ml::StatModelpure virtual
KDTREE enum valuecv::ml::KNearest
load(const String &filepath)cv::ml::KNeareststatic
cv::ml::StatModel::load(const String &filename, const String &objname=String())cv::Algorithminlinestatic
loadFromString(const String &strModel, const String &objname=String())cv::Algorithminlinestatic
predict(InputArray samples, OutputArray results=noArray(), int flags=0) const =0cv::ml::StatModelpure virtual
PREPROCESSED_INPUT enum valuecv::ml::StatModel
RAW_OUTPUT enum valuecv::ml::StatModel
read(const FileNode &fn)cv::Algorithminlinevirtual
read(const FileNode &fn)cv::Algorithminlinestatic
save(const String &filename) constcv::Algorithmvirtual
setAlgorithmType(int val)=0cv::ml::KNearestpure virtual
setDefaultK(int val)=0cv::ml::KNearestpure virtual
setEmax(int val)=0cv::ml::KNearestpure virtual
setIsClassifier(bool val)=0cv::ml::KNearestpure virtual
train(const Ptr< TrainData > &trainData, int flags=0)cv::ml::StatModelvirtual
train(InputArray samples, int layout, InputArray responses)cv::ml::StatModelvirtual
train(const Ptr< TrainData > &data, int flags=0)cv::ml::StatModelinlinestatic
Types enum namecv::ml::KNearest
UPDATE_MODEL enum valuecv::ml::StatModel
write(FileStorage &fs) constcv::Algorithminlinevirtual
write(FileStorage &fs, const String &name) constcv::Algorithm
write(const Ptr< FileStorage > &fs, const String &name=String()) constcv::Algorithm
writeFormat(FileStorage &fs) constcv::Algorithmprotected
~Algorithm()cv::Algorithmvirtual