11 #ifndef _CSPARSEPREPROC__H__
12 #define _CSPARSEPREPROC__H__
22 template <
class ST>
class SGSparseVector;
23 template <
class ST>
class CSparseFeatures;
53 virtual const char*
get_name()
const {
return "UNKNOWN"; }
virtual EFeatureClass get_feature_class()
return that we are simple minded features (just fixed size matrices)
Template class SparsePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSp...
EFeatureClass
shogun feature class
template class SGSparseVector The assumtion is that the stored SGSparseVectorEntry<T>* vector is orde...
virtual SGSparseVector< ST > * apply_to_sparse_feature_vector(SGSparseVector< ST > *f, int32_t &len)=0
virtual EPreprocessorType get_type() const
return a type of preprocessor
virtual SGSparseVector< ST > * apply_to_sparse_feature_matrix(CSparseFeatures< ST > *f)=0
Class Preprocessor defines a preprocessor interface.
virtual const char * get_name() const
return the name of the preprocessor