Feature Selection Toolbox FST4
UTIA · Czech Academy of Sciences
Loading...
Searching...
No Matches
FST::Data_File_ARFF_Feature Class Reference

ARFF data format filter - representation of an attribute (one @ATTRIBUTE column). More...

#include <data_file_ARFF.hpp>

Public Attributes

std::string name
 attribute name, as written after @ATTRIBUTE
std::string typeName
 the type text as written in the file (skip reporting)
int type
 one of TYPE_NUMERIC/TYPE_NOMINAL/TYPE_STRING/TYPE_UNSUPPORTED
int offset
 byte offset of this feature's value within a Data_File_ARFF_Record's raw data buffer
int size
 size in bytes of this feature's value slot (sizeof(float) or sizeof(short))
bool isClass
 true if this is the designated CLASS attribute (excluded from Data_File_ARFF::features, tracked separately)
std::vector< std::string > values
 the enumeration's value names, for TYPE_NOMINAL (empty otherwise)

Static Public Attributes

static const int TYPE_NUMERIC = 1
 loadable: a single-precision float slot
static const int TYPE_NOMINAL = 2
 loadable: a {v1,v2,...} enumeration, stored as a short index into values
static const int TYPE_STRING = 3
 recognized but unloadable (ARFF STRING); the column is skipped, see Data_File_ARFF::skippedColumns
static const int TYPE_UNSUPPORTED = 4
 recognized but unloadable (DATE, RELATIONAL, typos...); the column is skipped, see Data_File_ARFF::skippedColumns

Detailed Description

ARFF data format filter - representation of an attribute (one @ATTRIBUTE column).


The documentation for this class was generated from the following file:
Copyright © 2000–present ÚTIA, Institute of Information Theory and Automation of the Czech Academy of Sciences · Contacts · This site sets no cookies and uses no analytics.