CGMNPMKL Class Reference


Detailed Description

CGMNPMKL is a class for L1-norm multiclass MKL.

Definition at line 150 of file gmnpmkl.h.

Inheritance diagram for CGMNPMKL:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CGMNPMKL ()
 CGMNPMKL (float64_t C, CKernel *k, CLabels *lab)
virtual ~CGMNPMKL ()
virtual bool train ()
virtual EClassifierType get_classifier_type ()
float64_tgetsubkernelweights (int32_t &numweights)

Public Attributes

float64_t thresh
int32_t maxiters
int32_t lpwrappertype

Protected Member Functions

void lpsetup (const int32_t numkernels)
void initsvm ()
void init ()
virtual bool evaluatefinishcriterion (const int32_t numberofsilpiterations)
void addingweightsstep (const std::vector< float64_t > &curweights)
float64_t getsumofsignfreealphas ()
float64_t getsquarenormofprimalcoefficients (const int32_t ind)

Protected Attributes

CGMNPSVMsvm
lpwrapperlpw
::std::vector< std::vector
< float64_t > > 
weightshistory
int32_t numdat
int32_t numcl
int32_t numker

Constructor & Destructor Documentation

CGMNPMKL::CGMNPMKL (  ) 

Definition at line 254 of file gmnpmkl.cpp.

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

Definition at line 269 of file gmnpmkl.cpp.

CGMNPMKL::~CGMNPMKL (  )  [virtual]

Definition at line 282 of file gmnpmkl.cpp.


Member Function Documentation

void CGMNPMKL::addingweightsstep ( const std::vector< float64_t > &  curweights  )  [protected]

Definition at line 411 of file gmnpmkl.cpp.

bool CGMNPMKL::evaluatefinishcriterion ( const int32_t  numberofsilpiterations  )  [protected, virtual]

Definition at line 377 of file gmnpmkl.cpp.

virtual EClassifierType CGMNPMKL::get_classifier_type (  )  [virtual]

get classifier type

Returns:
classifier type GMNPMKL

Reimplemented from CClassifier.

Definition at line 164 of file gmnpmkl.h.

float64_t CGMNPMKL::getsquarenormofprimalcoefficients ( const int32_t  ind  )  [protected]

Definition at line 516 of file gmnpmkl.cpp.

float64_t * CGMNPMKL::getsubkernelweights ( int32_t &  numweights  ) 

Definition at line 627 of file gmnpmkl.cpp.

float64_t CGMNPMKL::getsumofsignfreealphas (  )  [protected]

Definition at line 460 of file gmnpmkl.cpp.

void CGMNPMKL::init (  )  [protected]

Definition at line 347 of file gmnpmkl.cpp.

void CGMNPMKL::initsvm (  )  [protected]

Definition at line 319 of file gmnpmkl.cpp.

void CGMNPMKL::lpsetup ( const int32_t  numkernels  )  [protected]

Definition at line 290 of file gmnpmkl.cpp.

bool CGMNPMKL::train (  )  [virtual]

train classifier

Returns:
whether training was successful

Reimplemented from CClassifier.

Definition at line 553 of file gmnpmkl.cpp.


Member Data Documentation

lpwrapper* CGMNPMKL::lpw [protected]

Definition at line 191 of file gmnpmkl.h.

Definition at line 171 of file gmnpmkl.h.

Definition at line 170 of file gmnpmkl.h.

int32_t CGMNPMKL::numcl [protected]

Definition at line 207 of file gmnpmkl.h.

int32_t CGMNPMKL::numdat [protected]

Definition at line 207 of file gmnpmkl.h.

int32_t CGMNPMKL::numker [protected]

Definition at line 207 of file gmnpmkl.h.

CGMNPSVM* CGMNPMKL::svm [protected]

Definition at line 189 of file gmnpmkl.h.

Definition at line 169 of file gmnpmkl.h.

::std::vector< std::vector< float64_t> > CGMNPMKL::weightshistory [protected]

Definition at line 204 of file gmnpmkl.h.


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

SHOGUN Machine Learning Toolbox - Documentation