Public Member Functions | Protected Member Functions | Protected Attributes

CGPBTSVM Class Reference

Detailed Description


Definition at line 22 of file GPBTSVM.h.

Inheritance diagram for CGPBTSVM:
Inheritance graph

List of all members.

Public Member Functions

 CGPBTSVM (float64_t C, CKernel *k, CLabels *lab)
virtual ~CGPBTSVM ()
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

Protected Member Functions

virtual bool train_machine (CFeatures *data=NULL)

Protected Attributes

struct svm_model * model

Constructor & Destructor Documentation


default constructor

Definition at line 18 of file GPBTSVM.cpp.

CGPBTSVM ( float64_t  C,
CKernel k,
CLabels lab 


C constant C
k kernel
lab labels

Definition at line 23 of file GPBTSVM.cpp.

~CGPBTSVM (  )  [virtual]

Definition at line 28 of file GPBTSVM.cpp.

Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

classifier type GPBT

Reimplemented from CMachine.

Definition at line 41 of file GPBTSVM.h.

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

Reimplemented from CSVM.

Definition at line 44 of file GPBTSVM.h.

bool train_machine ( CFeatures data = NULL  )  [protected, virtual]

train 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 CMachine.

Definition at line 33 of file GPBTSVM.cpp.

Member Data Documentation

struct svm_model* model [protected]

SVM model

Definition at line 59 of file GPBTSVM.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