Shogun supports a wide range of feature representations. Among them are the so called simple features (cf., CSimpleFeatures) that are standard 2-d Matrices, strings (cf., CStringFeatures) that however in contrast to other meanings of string are just a list of vectors of arbitrary length and sparse features (cf., CSparseFeatures) to efficiently represent sparse matrices.
Each of these feature objects
supports any of the standard types from bool to floats:
Supported Types
Many other feature types available. Some of them are based on the three basic feature types above, like CTOPFeatures (TOP Kernel features from CHMM), CFKFeatures (Fisher Kernel features from CHMM) and CRealFileFeatures (vectors fetched from a binary file). It should be noted that all feature objects are derived from CFeatures More complex CAttributeFeatures CCombinedDotFeatures CCombinedFeatures CDotFeatures CDummyFeatures CExplicitSpecFeatures CImplicitWeightedSpecFeatures CWDFeatures
In addition, labels are represented in CLabels and the alphabet of a string in CAlphabet.