VisionX V4 Subject Index Ordered Index General Info. Home | Feature Vector Commands | VisionX V4 |
The "vfeature" module is comprised of commands for the management and classification of feature vector data. Data files for feature vectors are text files using a comma-separated-values (csv) format. In addition there there are several different legacy feature vector formats available in VisionX file format that are targeted for different applications. These files may be converted to standard csv format files by using the VisionX utility commands vexcel or vxltovf. The data format for the classifiers is a csv file with a header row; each subsequent row contains a data vector for classification. The columns contain a set of identifiers followed by a column labeled "class" which provides the class of the data set (blank if unknown), followed by a set of features. After classification the file is returned with the feature values replaced with the classifier response.
Multi-class feature commands and filesThe following commands support the native "vclasf" multi-class nearest neighbor classifier. For two class problems the use of this classifier has been depreciated in favor of the above classifier commands. VisionX feature vector data for "vclasf" classification are stored in a VisionX file with the structure listed below or in text files with a comma-separated-values (csv) format. The commands related to the vclasf system are as follows:
Legacy File StructureAll the programs utilize the VisionX feature vector file format. Feature vectors are stored in framed VisionX files according to the following structure (for each frame):
A header is only allowed once per frame. Only one ID, class, and description are allowed for each feature vector; the programs assume that the ID and class will be present immediately preceding the feature vector in the specified order, the description is optional and is a free form description with only one constraint -- it can not contain "tab" or "," characters. Within a frame, all the feature vectors must have the same length. Output files from classification programs have the following structure (for each frame):
|