11 #ifndef _CSPARSEPREPROC__H__ 
   12 #define _CSPARSEPREPROC__H__ 
   24 template <
class ST> 
class SGSparseVector;
 
   25 template <
class ST> 
class CSparseFeatures;
 
   35 template <
class ST> 
class CSparsePreprocessor : 
public CPreprocessor
 
   50         SG_ERROR(
"Is not yet implemented!\n");
 
   67     virtual const char* 
get_name()
 const { 
return "UNKNOWN"; }
 
virtual SGSparseVector< ST > * apply_to_sparse_feature_vector(SGSparseVector< ST > *f, int32_t &len)=0
 
Template class SparseFeatures implements sparse matrices. 
 
EFeatureClass
shogun feature class 
 
virtual EPreprocessorType get_type() const 
return a type of preprocessor 
 
virtual CFeatures * apply(CFeatures *features)
 
virtual EFeatureClass get_feature_class()
return that we are simple minded features (just fixed size matrices) 
 
all of classes and functions are contained in the shogun namespace 
 
The class Features is the base class of all feature objects. 
 
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