glpkwrapper4CGMNPMKL Class Reference


Detailed Description

CGMNPMKL is a class for L1-norm multiclass MKL.

Definition at line 126 of file gmnpmkl.h.

Inheritance diagram for glpkwrapper4CGMNPMKL:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 glpkwrapper4CGMNPMKL ()
virtual ~glpkwrapper4CGMNPMKL ()
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

Public Attributes

int32_t numkernels

Constructor & Destructor Documentation

glpkwrapper4CGMNPMKL::glpkwrapper4CGMNPMKL (  ) 

Definition at line 75 of file gmnpmkl.cpp.

glpkwrapper4CGMNPMKL::~glpkwrapper4CGMNPMKL (  )  [virtual]

Definition at line 80 of file gmnpmkl.cpp.


Member Function Documentation

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

takes a set of $\alpha^t H \alpha$ and $-\sum \alpha$ and adds constraint32_t to the working set $\theta <= \beta^(1) + -\sum \alpha$

Reimplemented from lpwrapper.

Definition at line 161 of file gmnpmkl.cpp.

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

Reimplemented from lpwrapper.

Definition at line 213 of file gmnpmkl.cpp.

virtual const char* glpkwrapper4CGMNPMKL::get_name (  )  const [virtual]
Returns:
object name

Definition at line 144 of file gmnpmkl.h.

void glpkwrapper4CGMNPMKL::setup ( const int32_t  numkernels2  )  [virtual]

Reimplemented from lpwrapper.

Definition at line 85 of file gmnpmkl.cpp.


Member Data Documentation

Definition at line 129 of file gmnpmkl.h.


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

SHOGUN Machine Learning Toolbox - Documentation