Public Member Functions | |
CGMNPLib (float64_t *vector_y, CKernel *kernel, int32_t num_data, int32_t num_virtual_data, int32_t num_classes, float64_t reg_const) | |
~CGMNPLib () | |
int8_t | gmnp_imdm (float64_t *vector_c, int32_t dim, int32_t tmax, float64_t tolabs, float64_t tolrel, float64_t th, float64_t *alpha, int32_t *ptr_t, float64_t **ptr_History, int32_t verb) |
void | get_indices2 (int32_t *index, int32_t *c, int32_t i) |
Protected Member Functions | |
float64_t * | get_kernel_col (int32_t a) |
float64_t * | get_col (int32_t a, int32_t b) |
float64_t | kernel_fce (int32_t a, int32_t b) |
Protected Attributes | |
float64_t * | diag_H |
float64_t ** | kernel_columns |
float64_t * | cache_index |
int32_t | first_kernel_inx |
int64_t | Cache_Size |
int32_t | m_num_data |
float64_t | m_reg_const |
float64_t * | m_vector_y |
CKernel * | m_kernel |
int32_t | first_virt_inx |
float64_t * | virt_columns [3] |
int32_t | m_num_virt_data |
int32_t | m_num_classes |
Definition at line 27 of file gmnplib.h.
CGMNPLib::CGMNPLib | ( | float64_t * | vector_y, | |
CKernel * | kernel, | |||
int32_t | num_data, | |||
int32_t | num_virtual_data, | |||
int32_t | num_classes, | |||
float64_t | reg_const | |||
) |
constructor
vector_y | vector y | |
kernel | kernel | |
num_data | number of data | |
num_virtual_data | number of virtual data | |
num_classes | number of classes | |
reg_const | reg const |
Definition at line 78 of file gmnplib.cpp.
CGMNPLib::~CGMNPLib | ( | ) |
Definition at line 121 of file gmnplib.cpp.
float64_t * CGMNPLib::get_col | ( | int32_t | a, | |
int32_t | b | |||
) | [protected] |
void CGMNPLib::get_indices2 | ( | int32_t * | index, | |
int32_t * | c, | |||
int32_t | i | |||
) |
float64_t * CGMNPLib::get_kernel_col | ( | int32_t | a | ) | [protected] |
int8_t CGMNPLib::gmnp_imdm | ( | float64_t * | vector_c, | |
int32_t | dim, | |||
int32_t | tmax, | |||
float64_t | tolabs, | |||
float64_t | tolrel, | |||
float64_t | th, | |||
float64_t * | alpha, | |||
int32_t * | ptr_t, | |||
float64_t ** | ptr_History, | |||
int32_t | verb | |||
) |
-------------------------------------------------------------- GMNP solver based on improved MDM algorithm 1.
Search strategy: u determined by common rule and v is optimized.
Usage: exitflag = gmnp_imdm( &get_col, diag_H, vector_c, dim, tmax, tolabs, tolrel, th, &alpha, &t, &History ); --------------------------------------------------------------
Definition at line 238 of file gmnplib.cpp.
float64_t CGMNPLib::kernel_fce | ( | int32_t | a, | |
int32_t | b | |||
) | [protected] |
float64_t* CGMNPLib::cache_index [protected] |
int64_t CGMNPLib::Cache_Size [protected] |
float64_t* CGMNPLib::diag_H [protected] |
int32_t CGMNPLib::first_kernel_inx [protected] |
int32_t CGMNPLib::first_virt_inx [protected] |
float64_t** CGMNPLib::kernel_columns [protected] |
CKernel* CGMNPLib::m_kernel [protected] |
int32_t CGMNPLib::m_num_classes [protected] |
int32_t CGMNPLib::m_num_data [protected] |
int32_t CGMNPLib::m_num_virt_data [protected] |
float64_t CGMNPLib::m_reg_const [protected] |
float64_t* CGMNPLib::m_vector_y [protected] |
float64_t* CGMNPLib::virt_columns[3] [protected] |