11 #ifndef _ZEROMEANCENTERKERNELNORMALIZER_H___
12 #define _ZEROMEANCENTERKERNELNORMALIZER_H___
51 "num_ktrain",
"Train row means.");
53 "num_ktest",
"Test row means.");
90 for (int32_t i=0;i<num_lhs;i++)
105 float64_t value, int32_t idx_lhs, int32_t idx_rhs)
117 SG_ERROR(
"normalize_lhs not implemented")
127 SG_ERROR(
"normalize_rhs not implemented")
140 for (int32_t i=0; i<num_rhs; i++)
143 for (int32_t j=0; j<num_lhs; j++)
144 v[i] += ( k->
compute(j,i)/num_lhs );
150 virtual const char*
get_name()
const {
return "ZeroMeanCenterKernelNormalizer"; }