SHOGUN v0.9.0
公有成员 | 保护属性
CLPM类参考

详细描述

在文件LPM.h44行定义。

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

所有成员的列表。

公有成员

 CLPM ()
virtual ~CLPM ()
virtual bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual void set_features (CDotFeatures *feat)
void set_C (float64_t c_neg, float64_t c_pos)
float64_t get_C1 ()
float64_t get_C2 ()
void set_bias_enabled (bool enable_bias)
bool get_bias_enabled ()
void set_epsilon (float64_t eps)
float64_t get_epsilon ()
virtual const char * get_name () const

保护属性

float64_t C1
float64_t C2
bool use_bias
float64_t epsilon

构造及析构函数文档

CLPM ( )

在文件LPM.cpp22行定义。

~CLPM ( ) [virtual]

在文件LPM.cpp28行定义。


成员函数文档

bool get_bias_enabled ( )

在文件LPM.h90行定义。

float64_t get_C1 ( )

在文件LPM.h86行定义。

float64_t get_C2 ( )

在文件LPM.h87行定义。

virtual EClassifierType get_classifier_type ( ) [virtual]

get classifier type

返回:
classifier type NONE

重载CClassifier

在文件LPM.h60行定义。

float64_t get_epsilon ( )

在文件LPM.h93行定义。

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

重载CLinearClassifier

在文件LPM.h96行定义。

void set_bias_enabled ( bool  enable_bias)

在文件LPM.h89行定义。

void set_C ( float64_t  c_neg,
float64_t  c_pos 
)

set C

参数:
c_negnew C constant for negatively labeled examples
c_posnew C constant for positively labeled examples

在文件LPM.h84行定义。

void set_epsilon ( float64_t  eps)

在文件LPM.h92行定义。

virtual void set_features ( CDotFeatures feat) [virtual]

set features

参数:
featfeatures to set

重载CLinearClassifier

在文件LPM.h69行定义。

bool train ( CFeatures data = NULL) [virtual]

train classifier

参数:
datatraining 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

在文件LPM.cpp32行定义。


成员数据文档

float64_t C1 [protected]

在文件LPM.h99行定义。

float64_t C2 [protected]

在文件LPM.h100行定义。

float64_t epsilon [protected]

在文件LPM.h102行定义。

bool use_bias [protected]

在文件LPM.h101行定义。


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

SHOGUN Machine Learning Toolbox - Documentation