Public Member Functions | Public Attributes
ml_classifiers::SVMClassifier Class Reference

#include <svm_classifier.h>

Inheritance diagram for ml_classifiers::SVMClassifier:
Inheritance graph
[legend]

List of all members.

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)
 SVMClassifier ()
void train ()
 ~SVMClassifier ()

Public Attributes

ClassMap class_data
std::map< int, std::string > label_int_to_str
std::map< std::string, int > label_str_to_int
double ** scaling_factors
svm_problem svm_data
svm_modeltrained_model

Detailed Description

Definition at line 53 of file svm_classifier.h.


Constructor & Destructor Documentation

Definition at line 52 of file svm_classifier.cpp.

Definition at line 54 of file svm_classifier.cpp.


Member Function Documentation

void ml_classifiers::SVMClassifier::addTrainingPoint ( std::string  target_class,
const std::vector< double >  point 
) [virtual]

Implements ml_classifiers::Classifier.

Definition at line 60 of file svm_classifier.cpp.

string ml_classifiers::SVMClassifier::classifyPoint ( const std::vector< double >  point) [virtual]

Implements ml_classifiers::Classifier.

Definition at line 267 of file svm_classifier.cpp.

Implements ml_classifiers::Classifier.

Definition at line 258 of file svm_classifier.cpp.

bool ml_classifiers::SVMClassifier::load ( const std::string  filename) [virtual]

Implements ml_classifiers::Classifier.

Definition at line 58 of file svm_classifier.cpp.

void ml_classifiers::SVMClassifier::save ( const std::string  filename) [virtual]

Implements ml_classifiers::Classifier.

Definition at line 56 of file svm_classifier.cpp.

Implements ml_classifiers::Classifier.

Definition at line 65 of file svm_classifier.cpp.


Member Data Documentation

Definition at line 56 of file svm_classifier.h.

Definition at line 60 of file svm_classifier.h.

Definition at line 59 of file svm_classifier.h.

Definition at line 61 of file svm_classifier.h.

Definition at line 57 of file svm_classifier.h.

Definition at line 58 of file svm_classifier.h.


The documentation for this class was generated from the following files:


ml_classifiers
Author(s): Scott Niekum
autogenerated on Thu Aug 27 2015 13:59:04