公有成员 | 保护成员

CSVMSGD类参考


详细描述

class SVMSGD

在文件SVMSGD.h33行定义。

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

所有成员的列表。

公有成员

 CSVMSGD (float64_t C)
 CSVMSGD (float64_t C, CDotFeatures *traindat, CLabels *trainlab)
virtual ~CSVMSGD ()
virtual EClassifierType get_classifier_type ()
virtual bool train (CFeatures *data=NULL)
void set_C (float64_t c_neg, float64_t c_pos)
float64_t get_C1 ()
float64_t get_C2 ()
void set_epochs (int32_t e)
int32_t get_epochs ()
void set_bias_enabled (bool enable_bias)
bool get_bias_enabled ()
void set_regularized_bias_enabled (bool enable_bias)
bool get_regularized_bias_enabled ()
virtual const char * get_name () const

保护成员

void calibrate ()

构造及析构函数文档

CSVMSGD ( float64_t  C  ) 

constructor

参数:
C constant C

在文件SVMSGD.cpp105行定义。

CSVMSGD ( float64_t  C,
CDotFeatures traindat,
CLabels trainlab 
)

constructor

参数:
C constant C
traindat training features
trainlab labels for training features

在文件SVMSGD.cpp112行定义。

~CSVMSGD (  )  [virtual]

在文件SVMSGD.cpp122行定义。


成员函数文档

void calibrate (  )  [protected]

calibrate

在文件SVMSGD.cpp216行定义。

bool get_bias_enabled (  ) 

check if bias is enabled

返回:
if bias is enabled

在文件SVMSGD.h112行定义。

float64_t get_C1 (  ) 

get C1

返回:
C1

在文件SVMSGD.h82行定义。

float64_t get_C2 (  ) 

get C2

返回:
C2

在文件SVMSGD.h88行定义。

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

返回:
classifier type SVMOCAS

重载CClassifier

在文件SVMSGD.h58行定义。

int32_t get_epochs (  ) 

get epochs

返回:
the number of training epochs

在文件SVMSGD.h100行定义。

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

实现了CSGObject

在文件SVMSGD.h127行定义。

bool get_regularized_bias_enabled (  ) 

check if regularized bias is enabled

返回:
if regularized bias is enabled

在文件SVMSGD.h124行定义。

void set_bias_enabled ( bool  enable_bias  ) 

set if bias shall be enabled

参数:
enable_bias if bias shall be enabled

在文件SVMSGD.h106行定义。

void set_C ( float64_t  c_neg,
float64_t  c_pos 
)

set C

参数:
c_neg new C constant for negatively labeled examples
c_pos new C constant for positively labeled examples

在文件SVMSGD.h76行定义。

void set_epochs ( int32_t  e  ) 

set epochs

参数:
e new number of training epochs

在文件SVMSGD.h94行定义。

void set_regularized_bias_enabled ( bool  enable_bias  ) 

set if regularized bias shall be enabled

参数:
enable_bias if regularized bias shall be enabled

在文件SVMSGD.h118行定义。

bool train ( CFeatures data = NULL  )  [virtual]

train 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

在文件SVMSGD.cpp128行定义。


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

SHOGUN Machine Learning Toolbox - Documentation