#include <zero_classifier.h>
Public Member Functions | |
void | addTrainingPoint (std::string target_class, const std::vector< double > point) |
std::string | classifyPoint (const std::vector< double > point) |
void | clear () |
bool | load (const std::string filename) |
void | save (const std::string filename) |
void | train () |
ZeroClassifier () | |
~ZeroClassifier () |
Definition at line 48 of file zero_classifier.h.
Definition at line 51 of file zero_classifier.cpp.
Definition at line 52 of file zero_classifier.cpp.
void ml_classifiers::ZeroClassifier::addTrainingPoint | ( | std::string | target_class, |
const std::vector< double > | point | ||
) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 56 of file zero_classifier.cpp.
string ml_classifiers::ZeroClassifier::classifyPoint | ( | const std::vector< double > | point | ) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 59 of file zero_classifier.cpp.
void ml_classifiers::ZeroClassifier::clear | ( | ) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 58 of file zero_classifier.cpp.
bool ml_classifiers::ZeroClassifier::load | ( | const std::string | filename | ) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 55 of file zero_classifier.cpp.
void ml_classifiers::ZeroClassifier::save | ( | const std::string | filename | ) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 54 of file zero_classifier.cpp.
void ml_classifiers::ZeroClassifier::train | ( | ) | [virtual] |
Implements ml_classifiers::Classifier.
Definition at line 57 of file zero_classifier.cpp.