Template class SimplePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSimpleFeatures (i.e. rectangular dense matrices).
Two new functions apply_to_feature_vector() and apply_to_feature_matrix() are defined in this interface that need to be implemented in each particular preprocessor operating on CSimpleFeatures. For examples see e.g. CLogPlusOne or CPCACut.
Definition at line 31 of file SimplePreprocessor.h.
Public Member Functions | |
CSimplePreprocessor () | |
virtual SGMatrix< ST > | apply_to_feature_matrix (CFeatures *features)=0 |
virtual SGVector< ST > | apply_to_feature_vector (SGVector< ST > vector)=0 |
virtual EFeatureClass | get_feature_class () |
return that we are simple features (just fixed size matrices) | |
virtual EFeatureType | get_feature_type () |
return feature type | |
virtual EPreprocessorType | get_type () const |
return a type of preprocessor | |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
constructor
Definition at line 36 of file SimplePreprocessor.h.
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
Implemented in CDimensionReductionPreprocessor, CHessianLocallyLinearEmbedding, CIsomap, CKernelLocallyLinearEmbedding, CKernelPCA, CLaplacianEigenmaps, CLocallyLinearEmbedding, CLocalTangentSpaceAlignment, CLogPlusOne, CMultidimensionalScaling, CNormOne, CPCA, CPruneVarSubMean, and CRandomFourierGaussPreproc.
apply preproc on single feature vector result in feature matrix
Implemented in CDimensionReductionPreprocessor, CHessianLocallyLinearEmbedding, CIsomap, CKernelLocallyLinearEmbedding, CKernelPCA, CLaplacianEigenmaps, CLocallyLinearEmbedding, CLocalTangentSpaceAlignment, CLogPlusOne, CMultidimensionalScaling, CNormOne, CPCA, CPruneVarSubMean, and CRandomFourierGaussPreproc.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return that we are simple features (just fixed size matrices)
Implements CPreprocessor.
Reimplemented in CRandomFourierGaussPreproc.
Definition at line 48 of file SimplePreprocessor.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 72 of file SimplePreprocessor.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 67 of file SimplePreprocessor.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 62 of file SimplePreprocessor.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 82 of file SimplePreprocessor.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 77 of file SimplePreprocessor.h.
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreprocessor can deal
Implements CPreprocessor.
Definition at line 57 of file SimplePreprocessor.h.
virtual EPreprocessorType get_type | ( | ) | const [virtual] |
return a type of preprocessor
Implements CPreprocessor.
Reimplemented in CDimensionReductionPreprocessor, CHessianLocallyLinearEmbedding, CIsomap, CKernelLocallyLinearEmbedding, CKernelPCA, CLaplacianEigenmaps, CLocallyLinearEmbedding, CLocalTangentSpaceAlignment, CLogPlusOne, CMultidimensionalScaling, CNormOne, CPCA, CPruneVarSubMean, and CRandomFourierGaussPreproc.
Definition at line 53 of file SimplePreprocessor.h.