|
SHOGUN
v1.1.0
|
class PlifArray
Definition at line 23 of file PlifArray.h.

Public Member Functions | |
| CPlifArray () | |
| virtual | ~CPlifArray () |
| void | add_plif (CPlifBase *new_plif) |
| void | clear () |
| int32_t | get_num_plifs () |
| virtual float64_t | lookup_penalty (float64_t p_value, float64_t *svm_values) const |
| virtual float64_t | lookup_penalty (int32_t p_value, float64_t *svm_values) const |
| virtual void | penalty_clear_derivative () |
| virtual void | penalty_add_derivative (float64_t p_value, float64_t *svm_values, float64_t factor) |
| virtual float64_t | get_max_value () const |
| virtual float64_t | get_min_value () const |
| virtual bool | uses_svm_values () const |
| virtual int32_t | get_max_id () const |
| void | get_used_svms (int32_t *num_svms, int32_t *svm_ids) |
| virtual void | list_plif () const |
| virtual const char * | get_name () const |
Public Member Functions inherited from CPlifBase | |
| CPlifBase () | |
| virtual | ~CPlifBase () |
Public Member Functions inherited from CSGObject | |
| 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 Attributes | |
| DynArray< CPlifBase * > | m_array |
| float64_t | max_value |
| float64_t | min_value |
Additional Inherited Members | |
Public Attributes inherited from CSGObject | |
| SGIO * | io |
| Parallel * | parallel |
| Version * | version |
| Parameter * | m_parameters |
| Parameter * | m_model_selection_parameters |
Protected Member Functions inherited from CSGObject | |
| 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) |
| CPlifArray | ( | ) |
default constructor
Definition at line 25 of file PlifArray.cpp.
|
virtual |
Definition at line 32 of file PlifArray.cpp.
| void add_plif | ( | CPlifBase * | new_plif | ) |
| void clear | ( | ) |
clear
Definition at line 55 of file PlifArray.cpp.
|
virtual |
get maximum ID
Implements CPlifBase.
Definition at line 125 of file PlifArray.cpp.
|
virtual |
get maximum value
Implements CPlifBase.
Definition at line 80 of file PlifArray.h.
|
virtual |
get minimum value
Implements CPlifBase.
Definition at line 89 of file PlifArray.h.
|
virtual |
| int32_t get_num_plifs | ( | ) |
|
virtual |
get SVM_ids and number of SVMs used
abstract base method
Implements CPlifBase.
Definition at line 133 of file PlifArray.cpp.
|
virtual |
print PLIF
lists all PLIFs in array
Implements CPlifBase.
Definition at line 112 of file PlifArray.h.
lookup penalty float64_t
| p_value | value |
| svm_values | SVM values |
Implements CPlifBase.
Definition at line 62 of file PlifArray.cpp.
lookup penalty int32_t
| p_value | value |
| svm_values | SVM values |
Implements CPlifBase.
Definition at line 78 of file PlifArray.cpp.
penalty add derivative
| p_value | value |
| svm_values | SVM values |
| factor | weighting the added value |
Implements CPlifBase.
Definition at line 110 of file PlifArray.cpp.
|
virtual |
|
virtual |
check if plif uses SVM values
Implements CPlifBase.
Definition at line 117 of file PlifArray.cpp.
plif array
Definition at line 127 of file PlifArray.h.
|
protected |
maximum value
Definition at line 129 of file PlifArray.h.
|
protected |
minimum value
Definition at line 131 of file PlifArray.h.