33 #ifndef ML_CLASSIFIERS__CLASSIFIER_HPP_ 34 #define ML_CLASSIFIERS__CLASSIFIER_HPP_ 48 virtual void save(
const std::string filename) = 0;
49 virtual bool load(
const std::string filename) = 0;
51 virtual void train() = 0;
52 virtual void clear() = 0;
53 virtual std::string
classifyPoint(
const std::vector<double> point) = 0;
58 #endif // ML_CLASSIFIERS__CLASSIFIER_HPP_ virtual std::string classifyPoint(const std::vector< double > point)=0
virtual bool load(const std::string filename)=0
virtual void addTrainingPoint(std::string target_class, const std::vector< double > point)=0
virtual void save(const std::string filename)=0