Public Member Functions | Protected Attributes

CScatterKernelNormalizer Class Reference


Detailed Description

Definition at line 20 of file ScatterKernelNormalizer.h.

Inheritance diagram for CScatterKernelNormalizer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CScatterKernelNormalizer (float64_t const_diag, float64_t const_offdiag, CLabels *labels, CKernelNormalizer *normalizer=NULL)
virtual ~CScatterKernelNormalizer ()
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 m_const_diag
float64_t m_const_offdiag
CLabelsm_labels
CKernelNormalizerm_normalizer

Constructor & Destructor Documentation

CScatterKernelNormalizer ( float64_t  const_diag,
float64_t  const_offdiag,
CLabels labels,
CKernelNormalizer normalizer = NULL 
)

default constructor

Definition at line 27 of file ScatterKernelNormalizer.h.

virtual ~CScatterKernelNormalizer (  )  [virtual]

default destructor

Definition at line 43 of file ScatterKernelNormalizer.h.


Member Function Documentation

virtual const char* get_name (  )  const [virtual]
Returns:
object name

Implements CSGObject.

Definition at line 95 of file ScatterKernelNormalizer.h.

virtual bool init ( CKernel k  )  [virtual]

initialization of the normalizer

Parameters:
k kernel

Implements CKernelNormalizer.

Definition at line 51 of file ScatterKernelNormalizer.h.

virtual float64_t normalize ( float64_t  value,
int32_t  idx_lhs,
int32_t  idx_rhs 
) [virtual]

normalize the kernel value

Parameters:
value kernel value
idx_lhs index of left hand side vector
idx_rhs index of right hand side vector

Implements CKernelNormalizer.

Definition at line 62 of file ScatterKernelNormalizer.h.

virtual float64_t normalize_lhs ( float64_t  value,
int32_t  idx_lhs 
) [virtual]

normalize only the left hand side vector

Parameters:
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 78 of file ScatterKernelNormalizer.h.

virtual float64_t normalize_rhs ( float64_t  value,
int32_t  idx_rhs 
) [virtual]

normalize only the right hand side vector

Parameters:
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 88 of file ScatterKernelNormalizer.h.


Member Data Documentation

float64_t m_const_diag [protected]

factor to multiply to diagonal elements

Definition at line 103 of file ScatterKernelNormalizer.h.

factor to multiply to off-diagonal elements

Definition at line 105 of file ScatterKernelNormalizer.h.

CLabels* m_labels [protected]

labels

Definition at line 108 of file ScatterKernelNormalizer.h.

labels

Definition at line 111 of file ScatterKernelNormalizer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation