Public Member Functions | Protected Attributes

CLibSVMMultiClass Class Reference

Detailed Description

class LibSVMMultiClass

Definition at line 22 of file LibSVMMultiClass.h.

Inheritance diagram for CLibSVMMultiClass:
Inheritance graph

List of all members.

Public Member Functions

 CLibSVMMultiClass (float64_t C, CKernel *k, CLabels *lab)
virtual ~CLibSVMMultiClass ()
virtual bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

Protected Attributes

svm_problem problem
svm_parameter param
struct svm_model * model

Constructor & Destructor Documentation


default constructor

Definition at line 16 of file LibSVMMultiClass.cpp.

CLibSVMMultiClass ( float64_t  C,
CKernel k,
CLabels lab 


C constant C
k kernel
lab labels

Definition at line 21 of file LibSVMMultiClass.cpp.

~CLibSVMMultiClass (  )  [virtual]

Definition at line 26 of file LibSVMMultiClass.cpp.

Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

classifier type LIBSVMMULTICLASS

Reimplemented from CClassifier.

Definition at line 51 of file LibSVMMultiClass.h.

virtual const char* get_name ( void   )  const [virtual]
object name

Reimplemented from CSVM.

Definition at line 54 of file LibSVMMultiClass.h.

bool train ( CFeatures data = NULL  )  [virtual]

train multiclass SVM classifier

data training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data)
whether training was successful

Reimplemented from CClassifier.

Definition at line 31 of file LibSVMMultiClass.cpp.

Member Data Documentation

struct svm_model* model [protected]

SVM model

Definition at line 63 of file LibSVMMultiClass.h.

svm_parameter param [protected]

SVM parameter

Definition at line 60 of file LibSVMMultiClass.h.

svm_problem problem [protected]

SVM problem

Definition at line 58 of file LibSVMMultiClass.h.

solver type

Reimplemented from CClassifier.

Definition at line 66 of file LibSVMMultiClass.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation