Detailed Description
LibSVM.
Definition at line 28 of file LibSVM.h.
List of all members.
Constructor & Destructor Documentation
CLibSVM |
( |
LIBSVM_SOLVER_TYPE |
st = LIBSVM_C_SVC | ) |
|
constructor
- Parameters:
-
C | constant C |
k | kernel |
lab | labels |
Definition at line 21 of file LibSVM.cpp.
Member Function Documentation
get classifier type
- Returns:
- classifier type LIBSVM
Reimplemented from CMachine.
Definition at line 48 of file LibSVM.h.
virtual const char* get_name |
( |
| ) |
const [virtual] |
- Returns:
- object name
Reimplemented from CSVM.
Definition at line 51 of file LibSVM.h.
train SVM classifier
- Parameters:
-
data | training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data) |
- Returns:
- whether training was successful
Reimplemented from CMachine.
Definition at line 32 of file LibSVM.cpp.
Member Data Documentation
struct svm_model* model [protected] |
svm_parameter param [protected] |
SVM problem
Definition at line 66 of file LibSVM.h.
The documentation for this class was generated from the following files: