12 #ifndef _RANDOMFOURIERGAUSSPREPROC__H__
13 #define _RANDOMFOURIERGAUSSPREPROC__H__
112 float64_t ** randomcoeff_multiplicative2,
113 int32_t *dim_feature_space2, int32_t *dim_input_space2,
float64_t* kernelwidth2 )
const;
123 const int32_t dim_feature_space2,
const int32_t dim_input_space2,
const float64_t kernelwidth2);
168 virtual const char*
get_name()
const {
return "RandomFourierGaussPreproc"; }
float64_t * randomcoeff_multiplicative
int32_t cur_dim_input_space
void set_dim_feature_space(const int32_t dim)
int32_t get_dim_input_space() const
int32_t dim_feature_space
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
float64_t * randomcoeff_additive
float64_t cur_kernelwidth
virtual bool init(CFeatures *f)
bool init_randomcoefficients()
EFeatureClass
shogun feature class
~CRandomFourierGaussPreproc()
virtual EFeatureType get_feature_type()
CRandomFourierGaussPreproc()
int32_t cur_dim_feature_space
virtual const char * get_name() const
return the name of the preprocessor
void set_randomcoefficients(float64_t *randomcoeff_additive2, float64_t *randomcoeff_multiplicative2, const int32_t dim_feature_space2, const int32_t dim_input_space2, const float64_t kernelwidth2)
Template class DensePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CDen...
bool test_rfinited() const
void set_kernelwidth(const float64_t width)
float64_t get_kernelwidth() const
int32_t get_dim_feature_space() const
void copy(const CRandomFourierGaussPreproc &feats)
EFeatureType
shogun feature type
virtual EFeatureClass get_feature_class()
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
void set_dim_input_space(const int32_t dim)
Preprocessor CRandomFourierGaussPreproc implements Random Fourier Features for the Gauss kernel a la ...
void get_randomcoefficients(float64_t **randomcoeff_additive2, float64_t **randomcoeff_multiplicative2, int32_t *dim_feature_space2, int32_t *dim_input_space2, float64_t *kernelwidth2) const
virtual EPreprocessorType get_type() const
return a type of preprocessor
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)