11 #ifndef _MULTITASKKERNELMKLNORMALIZER_H___
12 #define _MULTITASKKERNELMKLNORMALIZER_H___
52 if (std::string(k->
get_name()) ==
"WeightedDegree") {
53 SG_INFO(
"using first-element normalization\n")
56 SG_INFO(
"no inner normalization for non-WDK kernel\n")
82 SG_ERROR(
"normalize_lhs not implemented")
92 SG_ERROR(
"normalize_rhs not implemented")
120 return "MultitaskKernelMklNormalizer";
virtual const char * get_name() const =0
virtual int32_t get_num_betas()=0
virtual float64_t compute(int32_t x, int32_t y)=0
virtual const char * get_name() const
virtual void set_beta(int32_t idx, float64_t weight)=0
virtual float64_t normalize_rhs(float64_t value, int32_t idx_rhs)
virtual bool init(CKernel *k)
virtual int32_t get_num_vec_lhs()
The class Kernel Normalizer defines a function to post-process kernel values.
virtual float64_t normalize_lhs(float64_t value, int32_t idx_lhs)
virtual int32_t get_num_vec_rhs()
CFeatures * rhs
feature vectors to occur on right hand side
Base-class for parameterized Kernel Normalizers.
all of classes and functions are contained in the shogun namespace
CMultitaskKernelMklNormalizer()
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.
virtual float64_t get_beta(int32_t idx)=0