6 using namespace shogun;
49 return embedding_feature_matrix;
53 SG_WARNING(
"Converter to process was not set.\n");
110 "embedding converter used to apply to data");
112 "target dimensionality of preprocessor");
114 "distance to be used for embedding");
116 "kernel to be used for embedding");
CKernel * get_kernel() const
virtual ~CDimensionReductionPreprocessor()
Computes the standard linear kernel on CDotFeatures.
virtual CSimpleFeatures< float64_t > * embed(CFeatures *features)
SGMatrix< ST > steal_feature_matrix()
Class Distance, a base class for all the distances used in the Shogun toolbox.
class EmbeddingConverter used to create embeddings of features, e.g. construct dense numeric embeddin...
CDimensionReductionPreprocessor()
virtual EPreprocessorType get_type() const
void set_target_dim(int32_t dim)
void add(bool *param, const char *name, const char *description="")
Class SGObject is the base class of all shogun objects.
CDistance * get_distance() const
void set_target_dim(int32_t dim)
The class Features is the base class of all feature objects.
CEmbeddingConverter * m_converter
void set_distance(CDistance *distance)
int32_t get_target_dim() const
void set_kernel(CKernel *kernel)
Template class SimplePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSi...
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)