the scatter kernel normalizer
Definition at line 23 of file ScatterKernelNormalizer.h.
Public Member Functions | |
CScatterKernelNormalizer () | |
CScatterKernelNormalizer (float64_t const_diag, float64_t const_offdiag, CLabels *labels, CKernelNormalizer *normalizer=NULL) | |
virtual | ~CScatterKernelNormalizer () |
virtual bool | init (CKernel *k) |
int32_t | get_testing_class () |
void | set_testing_class (int32_t c) |
virtual float64_t | normalize (float64_t value, int32_t idx_lhs, int32_t idx_rhs) |
virtual float64_t | normalize_lhs (float64_t value, int32_t idx_lhs) |
virtual float64_t | normalize_rhs (float64_t value, int32_t idx_rhs) |
virtual const char * | get_name () const |
Protected Attributes | |
float64_t | m_const_diag |
float64_t | m_const_offdiag |
CLabels * | m_labels |
CKernelNormalizer * | m_normalizer |
int32_t | m_testing_class |
default constructor
Definition at line 28 of file ScatterKernelNormalizer.h.
CScatterKernelNormalizer | ( | float64_t | const_diag, | |
float64_t | const_offdiag, | |||
CLabels * | labels, | |||
CKernelNormalizer * | normalizer = NULL | |||
) |
default constructor
Definition at line 35 of file ScatterKernelNormalizer.h.
virtual ~CScatterKernelNormalizer | ( | ) | [virtual] |
default destructor
Definition at line 61 of file ScatterKernelNormalizer.h.
virtual const char* get_name | ( | void | ) | const [virtual] |
int32_t get_testing_class | ( | ) |
get testing class
Definition at line 79 of file ScatterKernelNormalizer.h.
virtual bool init | ( | CKernel * | k | ) | [virtual] |
initialization of the normalizer
k | kernel |
Implements CKernelNormalizer.
Definition at line 69 of file ScatterKernelNormalizer.h.
normalize the kernel value
value | kernel value | |
idx_lhs | index of left hand side vector | |
idx_rhs | index of right hand side vector |
Implements CKernelNormalizer.
Definition at line 98 of file ScatterKernelNormalizer.h.
normalize only the left hand side vector
value | value of a component of the left hand side feature vector | |
idx_lhs | index of left hand side vector |
Implements CKernelNormalizer.
Definition at line 122 of file ScatterKernelNormalizer.h.
normalize only the right hand side vector
value | value of a component of the right hand side feature vector | |
idx_rhs | index of right hand side vector |
Implements CKernelNormalizer.
Definition at line 132 of file ScatterKernelNormalizer.h.
void set_testing_class | ( | int32_t | c | ) |
set testing status
c | set class to test for |
Definition at line 88 of file ScatterKernelNormalizer.h.
float64_t m_const_diag [protected] |
factor to multiply to diagonal elements
Definition at line 170 of file ScatterKernelNormalizer.h.
float64_t m_const_offdiag [protected] |
factor to multiply to off-diagonal elements
Definition at line 172 of file ScatterKernelNormalizer.h.
labels
Definition at line 175 of file ScatterKernelNormalizer.h.
CKernelNormalizer* m_normalizer [protected] |
labels
Definition at line 178 of file ScatterKernelNormalizer.h.
int32_t m_testing_class [protected] |
upon testing which class to test for
Definition at line 181 of file ScatterKernelNormalizer.h.