31 #include <shogun/lib/config.h> 33 #ifndef SHIFT_INVARIANT_KERNEL_H_ 34 #define SHIFT_INVARIANT_KERNEL_H_ 58 friend class internal::KernelManager;
85 virtual void precompute_distance();
91 virtual void cleanup();
103 virtual float64_t compute(int32_t x, int32_t y)=0;
120 return "ShiftInvariantKernel";
139 virtual void register_params();
158 #endif // SHIFT_INVARIANT_KERNEL_H__ float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
Base class for the family of kernel functions that only depend on the difference of the inputs...
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual const char * get_name() const
EFeatureClass
shogun feature class
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
The Custom Distance allows for custom user provided distance matrices.