VarianceKernelNormalizer divides by the ``variance''.
This effectively normalizes the vectors in feature space to variance 1 (see CVarianceKernelNormalizer)
Definition at line 27 of file VarianceKernelNormalizer.h.
Public Member Functions | |
CVarianceKernelNormalizer () | |
virtual | ~CVarianceKernelNormalizer () |
virtual bool | init (CKernel *k) |
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 | meandiff |
float64_t | sqrt_meandiff |
default constructor
Definition at line 32 of file VarianceKernelNormalizer.h.
virtual ~CVarianceKernelNormalizer | ( | ) | [virtual] |
default destructor
Definition at line 41 of file VarianceKernelNormalizer.h.
virtual const char* get_name | ( | void | ) | const [virtual] |
Implements CSGObject.
Definition at line 109 of file VarianceKernelNormalizer.h.
virtual bool init | ( | CKernel * | k | ) | [virtual] |
initialization of the normalizer
k | kernel |
Implements CKernelNormalizer.
Definition at line 47 of file VarianceKernelNormalizer.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 84 of file VarianceKernelNormalizer.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 94 of file VarianceKernelNormalizer.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 103 of file VarianceKernelNormalizer.h.
scaling constant
Definition at line 113 of file VarianceKernelNormalizer.h.
float64_t sqrt_meandiff [protected] |
square root of scaling constant
Definition at line 115 of file VarianceKernelNormalizer.h.