#include <svmlight.h>
Definition at line 68 of file svmlight.h.
void SVMlight::getSingleDetectingVector |
( |
std::vector< float > & |
singleDetectorVector, |
|
|
std::vector< unsigned int > & |
singleDetectorVectorIndices |
|
) |
| |
|
inline |
Generates a single detecting feature vector (vec1) from the trained support vectors, for use e.g.
with the HOG algorithm vec1 = sum_1_n (alpha_y*x_i). (vec1 is a 1 x n column vector. n = feature vector length)
- Parameters
-
singleDetectorVector | resulting single detector vector for use in openCV HOG |
singleDetectorVectorIndices | dummy vector for this implementation |
Definition at line 161 of file svmlight.h.
const char* SVMlight::getSVMName |
( |
| ) |
const |
|
inline |
float SVMlight::getThreshold |
( |
| ) |
const |
|
inline |
Return model detection threshold / bias.
- Returns
- detection threshold / bias
Definition at line 188 of file svmlight.h.
void SVMlight::loadModelFromFile |
( |
const std::string |
_modelFileName | ) |
|
|
inline |
void SVMlight::read_problem |
( |
char * |
filename | ) |
|
|
inline |
void SVMlight::saveModelToFile |
( |
const std::string |
_modelFileName | ) |
|
|
inline |
KERNEL_PARM* SVMlight::kernel_parm |
LEARN_PARM* SVMlight::learn_parm |
The documentation for this class was generated from the following file:
- /home/sarkar/opendetection/common/bindings/svmlight.h