Public 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 bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

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 CClassifier.

Definition at line 51 of file GPBTSVM.h.

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

Reimplemented from CSVM.

Definition at line 54 of file GPBTSVM.h.

bool train ( CFeatures data = NULL  )  [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 CClassifier.

Definition at line 33 of file GPBTSVM.cpp.

Member Data Documentation

struct svm_model* model [protected]

SVM model

Definition at line 58 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