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

MKLMultiClassGLPK类参考


详细描述

MKLMultiClassGLPK is a helper class for MKLMultiClass.

it solves the corresponding linear problem arising in SIP formulation for MKL using glpk

在文件MKLMultiClassGLPK.h29行定义。

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

所有成员的列表。

公有成员

 MKLMultiClassGLPK ()
virtual ~MKLMultiClassGLPK ()
virtual void setup (const int32_t numkernels2)
virtual void addconstraint (const ::std::vector< float64_t > &normw2, const float64_t sumofpositivealphas)
virtual void computeweights (std::vector< float64_t > &weights2)
virtual const char * get_name () const

保护成员

 MKLMultiClassGLPK (MKLMultiClassGLPK &gl)
MKLMultiClassGLPK operator= (MKLMultiClassGLPK &gl)

保护属性

int32_t numkernels
glp_prob * linearproblem

构造及析构函数文档

Class default Constructor

在文件MKLMultiClassGLPK.cpp15行定义。

~MKLMultiClassGLPK (  )  [virtual]

Class default Destructor

在文件MKLMultiClassGLPK.cpp24行定义。

MKLMultiClassGLPK ( MKLMultiClassGLPK gl  )  [protected]

Class Copy Constructor protected to avoid its usage because member glp_prob* linearproblem; from GLPK package is not copyable

在文件MKLMultiClassGLPK.cpp44行定义。


成员函数文档

void addconstraint ( const ::std::vector< float64_t > &  normw2,
const float64_t  sumofpositivealphas 
) [virtual]

adds a constraint to the LP arising in L1 MKL based on two parameters

参数:
normw2 is the vector of $ \|w_k \|^2 $ for all kernels
sumofpositivealphas is a term depending on alphas, labels and biases, see in the function float64_t getsumofsignfreealphas() from MKLMultiClass.h, it depends on the formulation of the underlying GMNPSVM.

重载MKLMultiClassOptimizationBase

在文件MKLMultiClassGLPK.cpp118行定义。

void computeweights ( std::vector< float64_t > &  weights2  )  [virtual]

computes MKL weights

参数:
weights2 stores the new weights

重载MKLMultiClassOptimizationBase

在文件MKLMultiClassGLPK.cpp167行定义。

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

重载MKLMultiClassOptimizationBase

在文件MKLMultiClassGLPK.h68行定义。

MKLMultiClassGLPK operator= ( MKLMultiClassGLPK gl  )  [protected]

Class Assignment operator protected to avoid its usage because member glp_prob* linearproblem; from GLPK package is not copyable

在文件MKLMultiClassGLPK.cpp36行定义。

void setup ( const int32_t  numkernels2  )  [virtual]

initializes GLPK LP sover

参数:
numkernels2 is the number of kernels

重载MKLMultiClassOptimizationBase

在文件MKLMultiClassGLPK.cpp52行定义。


成员数据文档

glp_prob* linearproblem [protected]

GLPK data structure

在文件MKLMultiClassGLPK.h90行定义。

int32_t numkernels [protected]

stores the number of kernels which acts as a parameter for the LP

在文件MKLMultiClassGLPK.h87行定义。


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

SHOGUN Machine Learning Toolbox - Documentation