CMPDSVM Class Reference


Detailed Description

class MPDSVM

Definition at line 18 of file MPDSVM.h.

Inheritance diagram for CMPDSVM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

float64_t compute_H (int32_t i, int32_t j)
KERNELCACHE_ELEMlock_kernel_row (int32_t i)
void unlock_kernel_row (int32_t i)

Protected Attributes

CCache< KERNELCACHE_ELEM > * kernel_cache

Constructor & Destructor Documentation

CMPDSVM::CMPDSVM (  ) 

default constructor

Definition at line 16 of file MPDSVM.cpp.

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

constructor

Parameters:
C constant C
k kernel
lab labels

Definition at line 21 of file MPDSVM.cpp.

CMPDSVM::~CMPDSVM (  )  [virtual]

Definition at line 26 of file MPDSVM.cpp.


Member Function Documentation

float64_t CMPDSVM::compute_H ( int32_t  i,
int32_t  j 
) [protected]

compute H

Parameters:
i index of H
j index of H
Returns:
computed H at index i,j

Definition at line 52 of file MPDSVM.h.

virtual EClassifierType CMPDSVM::get_classifier_type (  )  [virtual]

get classifier type

Returns:
classifier type MPD

Reimplemented from CClassifier.

Definition at line 40 of file MPDSVM.h.

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

Reimplemented from CSVM.

Definition at line 43 of file MPDSVM.h.

KERNELCACHE_ELEM* CMPDSVM::lock_kernel_row ( int32_t  i  )  [protected]

lock kernel row

Parameters:
i row to lock
Returns:
locked row

Definition at line 62 of file MPDSVM.h.

bool CMPDSVM::train (  )  [virtual]

train SVM

Reimplemented from CClassifier.

Definition at line 30 of file MPDSVM.cpp.

void CMPDSVM::unlock_kernel_row ( int32_t  i  )  [protected]

unlock kernel row

Parameters:
i row to unlock

Definition at line 88 of file MPDSVM.h.


Member Data Documentation

kernel cache

Definition at line 94 of file MPDSVM.h.


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

SHOGUN Machine Learning Toolbox - Documentation