CGMNPMKL is a class for L1-norm multiclass MKL.
Definition at line 150 of file gmnpmkl.h.
Public Member Functions | |
CGMNPMKL () | |
CGMNPMKL (float64_t C, CKernel *k, CLabels *lab) | |
virtual | ~CGMNPMKL () |
virtual bool | train () |
virtual EClassifierType | get_classifier_type () |
float64_t * | getsubkernelweights (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 | |
CGMNPSVM * | svm |
lpwrapper * | lpw |
::std::vector< std::vector < float64_t > > | weightshistory |
int32_t | numdat |
int32_t | numcl |
int32_t | numker |
CGMNPMKL::CGMNPMKL | ( | ) |
Definition at line 254 of file gmnpmkl.cpp.
Definition at line 269 of file gmnpmkl.cpp.
CGMNPMKL::~CGMNPMKL | ( | ) | [virtual] |
Definition at line 282 of file gmnpmkl.cpp.
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] |
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
Reimplemented from CClassifier.
Definition at line 553 of file gmnpmkl.cpp.
lpwrapper* CGMNPMKL::lpw [protected] |
int32_t CGMNPMKL::lpwrappertype |
int32_t CGMNPMKL::maxiters |
int32_t CGMNPMKL::numcl [protected] |
int32_t CGMNPMKL::numdat [protected] |
int32_t CGMNPMKL::numker [protected] |
CGMNPSVM* CGMNPMKL::svm [protected] |
::std::vector< std::vector< float64_t> > CGMNPMKL::weightshistory [protected] |