Base class for SVM SVM (Support Vector Machines).
More...
#include <pcl/ml/svm_wrapper.h>
|
| | SVM () |
| | Constructor.
|
| | ~SVM () |
| | Destructor.
|
| void | getLabel (std::vector< int > &labels) |
| | Return the labels order from the classifier model.
|
| void | saveClassifierModel (const char *filename) |
| | Save the classifier model in an extern file (in svmlight format).
|
|
| static void | printNull (const char *) |
| | Set for output printings during classification.
|
Base class for SVM SVM (Support Vector Machines).
Definition at line 122 of file svm_wrapper.h.
◆ SVM()
◆ ~SVM()
◆ adaptInputToLibSVM()
| void pcl::SVM::adaptInputToLibSVM |
( |
std::vector< SVMData > | training_set, |
|
|
svm_problem & | prob ) |
|
protected |
◆ adaptLibSVMToInput()
| void pcl::SVM::adaptLibSVMToInput |
( |
std::vector< SVMData > & | training_set, |
|
|
svm_problem | prob ) const |
|
protected |
◆ exitInputError()
| void pcl::SVM::exitInputError |
( |
int | line_num | ) |
|
|
inlineprotected |
◆ getClassName()
| const std::string & pcl::SVM::getClassName |
( |
| ) |
const |
|
inlineprotected |
◆ getLabel()
| void pcl::SVM::getLabel |
( |
std::vector< int > & | labels | ) |
|
|
inline |
Return the labels order from the classifier model.
Definition at line 201 of file svm_wrapper.h.
References model_.
◆ loadProblem()
| bool pcl::SVM::loadProblem |
( |
const char * | filename, |
|
|
svm_problem & | prob ) |
|
protected |
◆ printNull()
| void pcl::SVM::printNull |
( |
const char * | | ) |
|
|
inlinestaticprotected |
◆ readline()
| char * pcl::SVM::readline |
( |
FILE * | input | ) |
|
|
protected |
To read a line from the input file.
Stored in "line_".
◆ saveClassifierModel()
| void pcl::SVM::saveClassifierModel |
( |
const char * | filename | ) |
|
|
inline |
Save the classifier model in an extern file (in svmlight format).
Definition at line 215 of file svm_wrapper.h.
References model_.
◆ saveProblem()
| bool pcl::SVM::saveProblem |
( |
const char * | filename, |
|
|
bool | labelled ) |
|
protected |
◆ saveProblemNorm()
| bool pcl::SVM::saveProblemNorm |
( |
const char * | filename, |
|
|
svm_problem | prob_, |
|
|
bool | labelled ) |
|
protected |
◆ class_name_
| std::string pcl::SVM::class_name_ |
|
protected |
◆ labelled_training_set_
| bool pcl::SVM::labelled_training_set_ |
|
protected |
◆ line_
| char* pcl::SVM::line_ {nullptr} |
|
protected |
◆ max_line_len_
| int pcl::SVM::max_line_len_ {10000} |
|
protected |
◆ model_
◆ param_
◆ prob_
◆ scaling_
◆ training_set_
| std::vector<SVMData> pcl::SVM::training_set_ |
|
protected |
The documentation for this class was generated from the following file: