Home Script Language Matrices Feature Matrix Class TFeatureMatrix Class TFeatureMatrix  


Class TFeatureMatrix 

The class TFeatureMatrix provides a twodimensional matrix of features of objects whose size is given by NFeatures and NObjects. The objects are the rows of the matrix, the features are the columns. It can be looked upon as a mixed variabletype matrix where the type of the data can be set individually for each column of the matrix. The supported data types comprise the following types: integer (fkInteger), double precision floating point (fkDouble), tristate values (fkTriState), strings (fkString) and undefined (fkUndefined)  see TFeatKind for details.
In addition, each feature (= column of the matrix) is defined by additional header fields which can be freely used by the user (except for the FeatKind field which controls the data type of the corresponding column). The cells of a feature matrix can be accessed by several properties (FeatVal, FeatValAsDouble, FeatValAsInt, FeatValAsTriState) which handle the different data types. The feature matrix can be manipulated using the following properties and methods:
