CGPBTSVM Class Reference


Detailed Description

class GPBTSVM

Definition at line 20 of file GPBTSVM.h.

Inheritance diagram for CGPBTSVM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

struct svm_modelmodel

Constructor & Destructor Documentation

CGPBTSVM::CGPBTSVM (  ) 

default constructor

Definition at line 16 of file GPBTSVM.cpp.

CGPBTSVM::CGPBTSVM ( float64_t  C,
CKernel k,
CLabels lab 
)

constructor

Parameters:
C constant C
k kernel
lab labels

Definition at line 21 of file GPBTSVM.cpp.

CGPBTSVM::~CGPBTSVM (  )  [virtual]

Definition at line 26 of file GPBTSVM.cpp.


Member Function Documentation

virtual EClassifierType CGPBTSVM::get_classifier_type (  )  [virtual]

get classifier type

Returns:
classifier type GPBT

Reimplemented from CClassifier.

Definition at line 45 of file GPBTSVM.h.

virtual const char* CGPBTSVM::get_name (  )  const [virtual]
Returns:
object name

Reimplemented from CSVM.

Definition at line 48 of file GPBTSVM.h.

bool CGPBTSVM::train (  )  [virtual]

train SVM

Returns:
if training was successful

Reimplemented from CClassifier.

Definition at line 31 of file GPBTSVM.cpp.


Member Data Documentation

struct svm_model* CGPBTSVM::model [read, protected]

SVM model

Definition at line 52 of file GPBTSVM.h.


The documentation for this class was generated from the following files:

SHOGUN Machine Learning Toolbox - Documentation