Feature Selection ToolboxFST3 Library / Documentation

FST::Data_File_ARFF Class Reference

ARFF data format filter. More...

#include <data_file_ARFF.hpp>

Collaboration diagram for FST::Data_File_ARFF:

List of all members.

Public Member Functions

 Data_File_ARFF (string fileName)
bool prepareFile ()
void sortRecordsByClass ()
unsigned int getNoOfClasses ()
unsigned int getNoOfFeatures ()
unsigned int getNoOfAttributes ()
unsigned int getTotalSize ()
unsigned int getClassSize (int clsId)
string getClassName (int clsId)
Data_File_ARFF_RecordgetRecordAt (long i)
float getFeatureValue (long record, int feature)
void printInfo ()

Private Member Functions

Data_File_ARFF_FeaturecreateAttribute (char *info)
bool readNextRow (char *row)
void prepareAttributes ()
Data_File_ARFF_RecordreadNormalRow (char *row)
Data_File_ARFF_RecordreadSparseRow (char *row)
bool readAttrValue (Data_File_ARFF_Feature *feature, Data_File_ARFF_Record *rec, char *value)
char * trim (char *szSource)
 trims a string (removes spaces, tabs, and cr / lf
char * mystrupr (char *szSource)
 replaces nonstandard strupr

Private Attributes

string _fileName
vector< Data_File_ARFF_Record * > data
vector< Data_File_ARFF_Feature * > attributes
vector< Data_File_ARFF_Feature * > features
int * classSize
string relationName
int attributesCount
int classAttribute
int classCount
int recordSize
bool loaded

Detailed Description

ARFF data format filter.

Note:
USES OBSOLETE CODE TO ACCESS *.ARFF FILES

Member Function Documentation

Data_File_ARFF_Feature * FST::Data_File_ARFF::createAttribute ( char *  info  )  [private]

Nominal type

References mystrupr(), and trim().


The documentation for this class was generated from the following file:

Generated on Thu Mar 31 11:38:01 2011 for FST3Library by  doxygen 1.6.1