公有成员 | 保护成员 | 保护属性

CMPDSVM类参考


详细描述

class MPDSVM

在文件MPDSVM.h20行定义。

继承图,类CMPDSVM
Inheritance graph
[图例]

所有成员的列表。

公有成员

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

保护成员

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

保护属性

CCache< KERNELCACHE_ELEM > * kernel_cache

构造及析构函数文档

CMPDSVM (  ) 

default constructor

在文件MPDSVM.cpp18行定义。

CMPDSVM ( float64_t  C,
CKernel k,
CLabels lab 
)

constructor

参数:
C constant C
k kernel
lab labels

在文件MPDSVM.cpp23行定义。

~CMPDSVM (  )  [virtual]

在文件MPDSVM.cpp28行定义。


成员函数文档

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

compute H

参数:
i index of H
j index of H
返回:
computed H at index i,j

在文件MPDSVM.h61行定义。

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

返回:
classifier type MPD

重载CClassifier

在文件MPDSVM.h49行定义。

virtual const char* get_name (  )  const [virtual]
返回:
object name

重载CSVM

在文件MPDSVM.h52行定义。

KERNELCACHE_ELEM* lock_kernel_row ( int32_t  i  )  [protected]

lock kernel row

参数:
i row to lock
返回:
locked row

在文件MPDSVM.h71行定义。

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

重载CClassifier

在文件MPDSVM.cpp32行定义。

void unlock_kernel_row ( int32_t  i  )  [protected]

unlock kernel row

参数:
i row to unlock

在文件MPDSVM.h97行定义。


成员数据文档

kernel cache

在文件MPDSVM.h103行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation