SHOGUN
v1.1.0
|
class GNPPLib, a Library of solvers for Generalized Nearest Point Problem (GNPP).
Public Member Functions | |
CGNPPLib () | |
CGNPPLib (float64_t *vector_y, CKernel *kernel, int32_t num_data, float64_t reg_const) | |
virtual | ~CGNPPLib () |
int8_t | gnpp_mdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, 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_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb) |
int8_t | gnpp_imdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, 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_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb) |
virtual const char * | get_name () const |
![]() | |
CSGObject () | |
CSGObject (const CSGObject &orig) | |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > | |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |
Protected Member Functions | |
float64_t * | get_col (int64_t a, int64_t b) |
![]() | |
virtual void | load_serializable_pre () throw (ShogunException) |
virtual void | load_serializable_post () throw (ShogunException) |
virtual void | save_serializable_pre () throw (ShogunException) |
virtual void | save_serializable_post () throw (ShogunException) |
Protected Attributes | |
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 |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
CGNPPLib | ( | ) |
default constructor
Definition at line 33 of file GNPPLib.cpp.
constructor
vector_y | vector y |
kernel | kernel |
num_data | number of data |
reg_const | reg const |
Definition at line 47 of file GNPPLib.cpp.
|
virtual |
Definition at line 75 of file GNPPLib.cpp.
|
protected |
|
virtual |
int8_t gnpp_imdm | ( | float64_t * | diag_H, |
float64_t * | vector_c, | ||
float64_t * | vector_y, | ||
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_aHa11, | ||
float64_t * | ptr_aHa22, | ||
float64_t ** | ptr_History, | ||
int32_t | verb | ||
) |
Usage: exitflag = gnpp_imdm( diag_H, vector_c, vector_y,
Definition at line 355 of file GNPPLib.cpp.
int8_t gnpp_mdm | ( | float64_t * | diag_H, |
float64_t * | vector_c, | ||
float64_t * | vector_y, | ||
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_aHa11, | ||
float64_t * | ptr_aHa22, | ||
float64_t ** | ptr_History, | ||
int32_t | verb | ||
) |
Usage: exitflag = gnpp_mdm(diag_H, vector_c, vector_y,
Definition at line 90 of file GNPPLib.cpp.